[LUGOS] Povezava na internet prek drugega računalnika

Miha smihael at gmail.com
Sat May 30 08:57:10 CEST 2009


Sepravi nekaj takega?

#This will CLEAR ALL RULES !!!
iptables -F
#Enable NAT (through the ppp0 interface)
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

#then we need to enable routing:
echo "1" > /proc/sys/net/ipv4/ip_forward

http://raldztech.blogspot.com/2005/12/how-to-share-internet-connection-in.html
http://wiki.debian.org/Modem/3G#FAQ
--
Lep pozdrav, Miha S.
Best regards, Miha S.
Vielen Gruß, Miha S.


More information about the lugos-list mailing list