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

Re: ipchains -> iptables



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


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