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

SNAT Question / Issue

Hello all,

Currently we have deployed an Astaro V5 Firewall, while configuring SNAT for a specific IP we ran into the following problem, I couldn't find references / info in the manual in this regards and hope there is an fix for this.

The firewall itself has 1 physical interface with 5 vlan interfaces, of those 5 interfaces 4 are internal subnetted in the 172.29.2.0/23 network, on external interface with an public IP address in a /28 network x.x.36.42. 

I configured the DNAT rules in such a way that incoming https and smtp on x.x.36.43 is directed towards 2 diffrent systems. (We are not using smtp content scanning/filtering). For the outgoing SMTP i configured an other DNAT/SNAT rule: mail.int -> any / all -> none mail.ext

The problem now is that when the server mail.int is connected towards an other internal network the SRC 172.29.2.X ip is translated to the external x.x.36.43 although the destination is internal. I'm therefor looking for an SNAT translation like mail.int -> "NOT internal nets" / all -> none mail.ext

Is this possible/supported ?

Thanks in advance
Stijn Jonker


This thread was automatically locked due to age.
  • hi sjcjocker, 

    instead of the SNAT rule you should use  Masquerading to hide the internal networks behind the external interface.

    The big difference between SNAT and Masquerading is, that Masquerading only takes place, if the traffic is forwarded towards this interface.
    In your case only of the mail.int goes through the external interface to the internet, the SRC ip gets rewritten with the one from the external ip.

    you than do not need any SNAT.

    regards
    Gert