≡ Menu

netstat-nat command

Linux: Iptables List and Show All NAT Tables Rules Command

I am using /sbin/iptables -L -v -n | more command. However, I am unable to list NAT rules. How do I use iptables to view or list NAT rules stored in NAT tables? How do I see all the rules in NAT tables under CentOS / RHEL based server?

[click to continue…]

Display the Natted / Routed Connections on a Linux Iptable Firewall

Q. I've Linux box acting as software router (natted) for over 100 computer connected via LAN. Regular netstat command is not displaying the list of all natted connections. How do I find out connections managed by netfilter / iptables which comes with the Debian 4.x system?
[click to continue…]