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

Re: [iptables] PREROUTING (Was: '-j ULOG' will nicht loggen)



Hello Michelle,

On Sun, 4 Jan 2004 19:11:14 +0100
Michelle Konzack <linux4michelle@freenet.de> wrote:

> Am 2004-01-04 17:38:23, schrieb Andreas Kretschmer:
> 
[PREROUTING]
> 
> OK, also habe ich jetzt filgendes:
> 
> 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 ?
> Genauso wie das MASQUERADE.
> 

iptables -t nat -vL


Jörg

-- 
Jörg Schütter           http://www.lug-untermain.de/
joerg@schuetter.org     http://www.schuetter.org/joerg/
ICQ: 298982789          http://mypenguin.bei.t-online.de/



Reply to: