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


Welcome Guest ( Log In | Register )

> Using Z As Proxy
post Mar 3 2009, 09:06 AM
Post #1

Group: Members
Posts: 38
Joined: 18-July 04
Member No.: 4,032

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.



Go to the top of the page
+Quote Post
Start new topic
Replies (1 - 2)
post Mar 3 2009, 10:31 AM
Post #2

Group: Members
Posts: 38
Joined: 18-July 04
Member No.: 4,032

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 ( as my proxy rather than having to tunnel to it. So if anyone has any suggestions, I would be happy to hear them.


Go to the top of the page
+Quote Post
post Mar 3 2009, 03:16 PM
Post #3

Group: Admin
Posts: 3,301
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149

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 netmask 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!
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: 21st October 2016 - 06:04 AM