On Wed, May 25, 2011 at 3:28 AM, Lars Noodén <[email protected]> wrote:
> What would the masquerading rule look like, assuming eth4 is the
> external interface and 0-3 are the internal network?

The very simple answer is this:

iptables -t nat -A POSTROUTING -o eth4 -j MASQUERADE

but your really should do some reading to make sure you know what
you're doing with your network's security. Try here for starters:

http://www.tldp.org/HOWTO/html_single/IP-Masquerade-HOWTO/

db
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to