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

IPB

Welcome Guest ( Log In | Register )

> Using Z As Proxy
corster
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.

ideas?

Thanks
-cor-



Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
speculatrix
post Mar 3 2009, 03:16 PM
Post #2





Group: Admin
Posts: 3,281
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 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!
Go to the top of the page
 
+Quote Post

Posts in this topic


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: 25th July 2014 - 02:06 PM