[Lula] USB internet sharing
Dave Leifer
leifer at attglobal.net
Sun Jul 2 19:22:23 EDT 2006
I'm not sure how far you've gotten ... This is a good treatise
on the subject (some if it is outdated for newer desktop
distros)
http://www.ruault.com/Zaurus/ethernet-over-usb-howto.html
Most of the key for what you are wondering about is in
iptables -t nat -F
iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to MY_IP
echo 1 > /proc/sys/net/ipv4/ip_forward
Dave
On Saturday 01 July 2006 09:26 pm, Shane Liesegang wrote:
> I've got a PDA running Linux (an old Sharp Zaurus) connected
> to my PC (running Ubuntu at the moment). The USB networking is
> fine and dandy, and both machines can ping each other and SSH
> to each other. The problem is getting the PDA to see the
> internet at large. After a few disastrous attempts at bridging
> the USB connection to the Ethernet, I'm starting to wonder if
> there's a better way.
>
> I know SSH can be used to tunnel connections by essentially
> tricking an app into thinking the local computer is the remote
> one and passing all the traffic down the SSH connection. Is it
> possible to make it more generic? Say, to tunnel port 80 to a
> remote host and have all traffic over port 80 be funneled
> through the SSH connection?
>
> - SJML
> _______________________________________________
> Lula mailing list
> Lula at lula.org
> http://www.lula.org/mailman/listinfo/lula
_______________________________________________
Lula mailing list
Lula at lula.org
http://www.lula.org/mailman/listinfo/lula
More information about the Lula
mailing list