Re: ipchains -> iptables

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

 



On Sun, Oct 10, 2004 at 03:33:26PM +0300, Janis K wrote:
> Hello Fedora List users
> 
> 
> I have Googled through the many sites and still cannot understand such
> thing.
> 
> Before I migrated from Debian to FC2, i used this:
> "/sbin/ipchains -A forward -s 192.168.0.0/24 -d 0.0.0.0/0 -j MASQ" and it
> works perfectly.
> 
> Now I have FC2 with kernel 2.6.5-1.358 (not yet updated) and I need the same
> thing using iptables command.
> 
> please help me.
> 
> 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 see the nat chain, try this: "/sbin/iptables -L -n -t nat"

-- 
Jim Kaufman
Linux Evangelist
public key 0x6D802619
---
Real knowledge is to know the extent of ones ignorance.
		-- Confucius


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux