Hi geht auch ohne:
|
Quellcode
|
1
2
3
4
5
6
|
iptables -F
iptables -t nat -F
#alles loeschen
iptables -t nat -A POSTROUTING -s 172.27.9.0/24 -d 0/0 -o ppp0 -j MASQUERADE
#routen
|
dabei is ppp0 der zugang zum dsl-modem, und 172.27.9.x der Client-ipbereich.
Wenn der Befehl ned klappt, iptables installiern und eventuell noch was in kernel reinkompiliern.
CU hurra