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

Re: routing VS nat



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.

Attachment: signature.asc
Description: This is a digitally signed message part


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