[default] no route past ssh'd computer
arne anka
openmoko at ginguppin.de
Sun Dec 28 11:44:46 CET 2008
only a few weeks ago was the recurrent thread about the issue, even
regarding the living in the same subnet -- please check the archives
before asking!
> ip_forward=no
that would efecctively prevent any access from the fr to the inet via your
host pc, whatever you do else.
in my host's (debian/unstable) /etc/network/interfaces the stanza reads
like this:
allow-hotplug usb0
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0
network 192.168.0.0
post-up iptables -A POSTROUTING -t nat -j MASQUERADE -s
192.168.0.0/24
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -P FORWARD ACCEPT
and that is, if i am not totally mistaken, what the wiki says, too.
More information about the community
mailing list