OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Secure wifi conection how to(cus wep is for suckers)
Nodus
post Jan 13 2004, 11:41 AM
Post #1





Group: Members
Posts: 11
Joined: 7-January 04
Member No.: 1,373



this is how i secured my wifi
feel free to html-ize it, fix the typos (im on my 5500 so) and put it in how to
ok so the siuation
you have a linux box with a wifi card and some kind of conection to the internet
you have a z with a compatible wifi card
im not going to tell you how to set those up as thats extensively covered else where
install iptables and turn it on in the kernel(covered else where)
install a terminal app on your z(qterminal ekonsole) what ever
install the ssh client on yor z
install ssh on your linux box
install squid (a proxy server) on your linux box
now the tricky part(s) your going to firewall off all but ssh and then use ssh to tunnel to your linux box's proxy
onthe linux box as root
#iptables -A INPUT -i wlan0 -p tcp --syn --destination-port 22 -j ACCEPT
(this tells iptables to let ssh in on the interface wlan0 which you should replace with what ever interface is you wifi card)
#iptables -A INPUT -i wlan0 -p tcp --syn --destination-port ! 22 -j DROP

on the z in the terminal run
ifconfig eth0 192.168.1.2
#ssh -l user 192.168.1.1 -L 101:localhost:3128 sleep 500000
( user is some user on the linux box 192.168.1.1 is the ip of the linux box 101 is just random 3128 is the default squid proxy port and sleep tels it to just sit and pass data for 500000 seconds) and say yes the put in the users password

now om the z open the internet conection wizard set up your net normaly but when you get to proxies change the http proxy to localhost port 101 (the one we picker randomly earlier
now try it out in opera if it work huray and good for you else review ans make sure you modprobe any modules and have the ability to ping the other box
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th December 2014 - 09:29 PM