[plug] IPTables
Andrew Barbara
Andrew at mmtnetworks.com.au
Thu Sep 27 16:28:47 WST 2001
How should the FORWARD chain be set in the default table?
Andrew Barbara, MCP
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
>>> tony at cantech.net.au 09/27/01 03:33pm >>>
On Thu, 27 Sep 2001, Andrew Barbara wrote:
> Hi,
> What is the correct syntax for NAT in IPTABLES,
> I tried "/sbin/iptables -t nat -A POSTROUTING -p tcp -s 192.168.0.0/24 -j MASQUERADE"
> But it doesn't work on the client side.
Read,
http://netfilter.samba.org/unreliable-guides/NAT-HOWTO/NAT-HOWTO.linuxdoc-4.html#ss4.1
(4.1 I just want masquerading! Help!)
I think the differnce is specifying the output devices instead of the source
address.
If that doesn't help then some more details like
client routes and interfaces
server routes and interfaces
iptables -t nat -L
etc etc
might help.
Yours Tony.
/*
* "The significant problems we face cannot be solved at the
* same level of thinking we were at when we created them."
* --Albert Einstein
*/
More information about the plug
mailing list