Quote:
Originally Posted by veerain
|
Or I could ask a
question in teh linux
questions.org - and hope for a non bullshit reply. Unlike teh yours
From what I
think how it should work:
Server:
modprobe slip
slattach -L -s 115200 -p slip /dev/ttys0 &
ifconfig sl0 172.16.0.1 dstaddr 172.16.0.2
echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding
iptables -t nat -A POSTROUTING -s 172.16.0.2 -o eth0 -j MASQUERADE
Client:
modprobe slip
slattach -L -s 115200 -p slip /dev/ttys0 &
ifconfig sl0 172.16.0.2 dstaddr 172.16.0.1
ip route add default via 172.16.0.1 dev sl0
echo nameserver 8.8.8.8 > /etc/resolv.conf
... problem is: it does not work
Ping timeouts ...