routing VS nat

Steffen Kluge kluge at fujitsu.com.au
Tue Mar 14 01:31:45 UTC 2006


On Fri, 2006-03-10 at 06:52 -0500, James Pifer wrote:
> > > After I make the connection I do iptables -F so it's wide open
> > 
> > This flushes only the filter table.
> > 
> > > When I try to use the connection the machine is still doing NAT.
> > 
> > Check the nat table:
> > # iptables -t nat -L
> > 
> Yeah, it's doing MASQUERADE. Is there any way to turn that off so the
> machine just acts like a router?

Sorry for the delay, I lost this thread somehow...

Anyway, you were almost there: iptables -F -t nat

Without -t, all commands affect only the filter table by default. The
permanent configuration is in /etc/sysconfig/iptables, btw.

Cheers
Steffen.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060314/b18b85eb/attachment-0001.sig>


More information about the fedora-list mailing list