PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : problem mit den iptables



saulus
04.10.06, 10:11
hallo,

wenn ich

iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -d 0/0 -o ippp0 -j MASQUERADE

auf meinem Debian-Rechner eingebe und danach iptables -L ausführe erhalte ich immer noch:

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


Woran kann das liegen?

Gruß Saulus

asi_dkn
04.10.06, 10:31
das liegt daran weil du regeln in der NAT tabelle angelegt hast.

versuche es mit:

iptables -t nat -L, sollte helfen :)

shootie
04.10.06, 10:32
too late :P

asi_dkn
04.10.06, 10:34
oooh, sorry :) das nächste mal lasse ich dir den vortritt *g*