[CentOS] iptables port forwarding

Ljubomir Ljubojevic office at plnet.rs
Mon Jun 27 17:43:53 UTC 2011


John R Pierce wrote:
> On 06/27/11 12:05 AM, muiz wrote:
>> [root at localhost ~]# /sbin/iptables -L
> 
> note that doesn't show all the pertinent info. I prefer `iptable -L 
> -vn`, and it still doesn't show the nat tables, you also need `iptable 
> -L -vn -t nat` to see those chains, and `iptable -L -vn -t mangle` if 
> you're using any mangle entries.

iptables-save is designed for iptables output.

Ljubomir



More information about the CentOS mailing list