This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to set up outbound NAT?

I have successfully set up Destination NAT (DNAT) so I can receive incoming traffic from an "additional ip address" (.11) in to one of my LAN machines.  However, when this machine goes out to the internet, it is still using the primary interface ip address (.10).

I am sure I have to set up some kind of NAT entry to map the internal machine's address/traffic out to the secondary static internet address (.11).  I tried adding a SNAT entry, specifying my LAN machine as the traffic selector / ANY / ANY, then source translation of my external WAN address (.11).

However, when I go to a whatismyip site, I am still seeing .10, which is the primary interface ip / masquerade entry.

What am I missing, or is there already a good write-up on this?

Thanks!


This thread was automatically locked due to age.
Parents
  • Hi, SNAT is what you should use.

    Try Internet(IPv4) as the destination.

    What version of Astaro?

    If it doesn't work, please post screenshots of your NAT and MASQ setup.

    Barry
  • So my SNAT entry looks like this:


    Traffic Source: "MYMACHINE"  (which is an internal lan ip 172.x.x.11)

    Traffic Service: ANY

    Traffic Destination: ANY

    NAT mode: SNAT (Source)

    Source: External (WAN) Address  (and is one of my additional ip's specified in interfaces - additional addresses)

    Automatic Firewall Rule is also checked.
Reply
  • So my SNAT entry looks like this:


    Traffic Source: "MYMACHINE"  (which is an internal lan ip 172.x.x.11)

    Traffic Service: ANY

    Traffic Destination: ANY

    NAT mode: SNAT (Source)

    Source: External (WAN) Address  (and is one of my additional ip's specified in interfaces - additional addresses)

    Automatic Firewall Rule is also checked.
Children
No Data