ipchains -> iptables

Andre Speelmans andre at as.no-ip.com
Sun Oct 10 13:37:33 UTC 2004


On Sun, Oct 10, 2004 at 03:33:26PM +0300, Janis K wrote:

> I tried this: "/sbin/iptables -t nat -A POSTROUTING -o eth0 -s
> 192.168.0.0/24 -j MASQUERADE"
> but it doesn't work. When I try "/sbin/iptables -L -n" it shows nothing,
> except empty chains INPUT, FORWARD and OUTPUT.

To view the nat-table you have to tell it:
# iptables -t nat -nL

-- 
Regards,

Andre




More information about the fedora-list mailing list