Skip to contentSkip to conversation

view nat rules

DISCUSSION Klaus Boehm 2 participants 2 messages Sep 29, 2003

lore
Share & tools
lore
#0 lore raw

How can i view the nat rules.

i did iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source xx.xx.xx.xx

and then i tried iptables -L POSTROUTING
but this doesn't work.

Thanks.

Klaus

--

ewt gmbh
data management group
tel: ++49 821 3106 319
fax: ++49 821 3106 399
url: www.ewt.de

#1 lore raw

iptables -t nat -nL

----- Original Message -----
From: "Klaus Boehm" <[email protected]>
To: <[email protected]>
Sent: Monday, September 29, 2003 1:39 PM
Subject: view nat rules

Quoted 3 lines

How can i view the nat rules.

i did iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source

xx.xx.xx.xx

Quoted 21 lines

and then i tried iptables -L POSTROUTING
but this doesn't work.

Thanks.

Klaus

--

ewt gmbh
data management group
tel: ++49 821 3106 319
fax: ++49 821 3106 399
url: www.ewt.de