iptables SNAT question

Discussion in 'Installation/Configuration' started by dbo, Dec 22, 2010.

  1. dbo

    dbo New Member

    Currently I have a router running several networks SNAT to a single outbound static address. Each network has it's own interface. What I am trying to do is route each network out the outbound interface, but each have it's own outbound static IP.

    The only NAT rule I'm using now is:

    iptables -t nat -A POSTROUTING -s -o eth7 -j SNAT --to
    This is routing networks,,, etc. all out a single static address.

    I would like to have each net have its own static outbound address, but still use a single outbound interface.

    Any help is greatly appreciated.

Share This Page