Help - Search - Members - Calendar
Full Version: Using Z As Proxy
OESF Forums > General Forums > General Support and Discussion > Security and Networking
corster
I have a stock SL5500 standard Sharp OS, upgraded to the latest.

Here is the scenario:

2 network connections:

A. Corp firewalled
B. Wireless LAN (Open) similar to starbucks etc.


1 PC (behind corp firewall A)
1 Zaurus with WLan CF card (connected to Wifi cool.gif

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-



corster
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-
speculatrix
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!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.