[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [iptables] '-j ULOG' will nicht loggen



Michelle Konzack <linux4michelle@freenet.de> dixit:

> iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
> echo 1 > proc/sys/net/ipv/ip_forward
> iptables -P INPUT DROP
> iptables -P FORWARD DROP
> iptables -t nat -A PREROUTING -p tcp --dport 80 -i ppp0 -j DNAT --to ...:80
> 
> Ein 'iptables -vL' gibt mit aber nur die policy zurück, nicht über
> das Portforwarding...
> 
> Wie kann man das sichtbar machen ?

Indem Du dem iptables das "t -nat" beifuegst.

Vulgo: iptables -t nat -L

Gruss

Peter Blancke

-- 
Hoc est enim verbum meum!



Reply to: