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

Multiple IP:s on an interface, snat or masq?

I have an Astaro with four additional IP-addresses on the external interface. (total 5 IP-addresses on that interface)

Each of the four IP-addresses is dnat:ed to separate internal networks with their own internal physical interface.

I also have one VPN connection to all internal networks.

My problem is when a machine on a internal network makes a socket connection. When connection to the internet the internal source IP-address has to be translated to the representative external IP-address. 

One solution is to use snat, but when connection through the VPN-tunnel, no snat should be done! Only when connection to the Internet. 

Another solution is to user masquerading on the external interface, but it wont work becasue Astaro is using the "main" external IP-address when using masquerading , I cannot select a additional IP-address on the external interface when using masquerading. 

Does anybody have a solution?


This thread was automatically locked due to age.
Parents Reply Children
No Data