OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Security and Networking => Topic started by: corster on March 03, 2009, 12:06:42 pm
-
I have a stock SL5500 standard Sharp OS, upgraded to the latest.
Here is the scenario:
2 network connections:
[blockquote]A. Corp firewalled
B. Wireless LAN (Open) similar to starbucks etc.[/blockquote]
1 PC (behind corp firewall A)
1 Zaurus with WLan CF card (connected to Wifi
What I would like to do is to use the Zaurus as a proxy via the USB cradle sidestepping the firewall. Yes, I know I could simply ssh tunnel, but all of that traffic is monitored and WiFi B is not monitored so that would be my preference.
ideas?
Thanks
-cor-
-
Well, I am able to do this by tunneling to the Z and using localhost as my proxy, but I was actually hoping that I could use the USB IP (192.168.129.201) as my proxy rather than having to tunnel to it. So if anyone has any suggestions, I would be happy to hear them.
Thanks!
-cor-
-
if you can network Z to your computer over USB, you need to do the following
On Z:
1/ turn on IP forwarding "echo 1 > /proc/sys/net/ipv4/ip_forward"
2/ need iptables masquerading, e.g. "iptables -I POSTROUTING -o wlan0 -j MASQUERADE" on the Z - see lartc.org for lots of useful stuff about linux and NAT
On PC:
1/ set default route to the Z (or at least specific routes, e.g. to google "route add 209.85.229.0 netmask 255.255.255.0 zzz.zzz.zzz.zz" (from memory)
where zzz.zzz.zzz.zzz is the IP of the zaurus
this would also work if the Z had a bluetooth PAN connection or RFCOMM via a phone to the internet, although it would be quite slow!