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

Feature request: Masquerading for additional IP-addresses

Currently (v7.401 and earlier) it is impossible to select Masquerading for additional IP addresses, it is only possible to choose the nics' main IP addresses.

The workaround is to use snat, but it is a nightmare if you have many nics and vpn:s.


This thread was automatically locked due to age.
Parents
  • Erik, I think Masquerading works with an interface, so it takes whatever address is on the interface.  Are there other products that allow masquerading not on the primary IP?

    You didn't say what you want to accomplish, but have you considered policy routing?  What about using VLANs instead of Additional Addresses (I don't know if that will work, I'm just ideating)?

    Anyway, it will be interesting to learn the solution you find.

    Cheers - Bob
  • "Erik, I think Masquerading works with an interface, so it takes whatever address is on the interface. Are there other products that allow masquerading not on the primary IP?"

    Let say that you have three nics with IP adresses A, B and C.
    A is external and there you have an additional IP adress D.

    On network B and C you have two webservers, one on each network. Masquerading on external for net B is as usual. However, you cannot set up Masquerading for net C using the additional IP address D on the external interface.
Reply
  • "Erik, I think Masquerading works with an interface, so it takes whatever address is on the interface. Are there other products that allow masquerading not on the primary IP?"

    Let say that you have three nics with IP adresses A, B and C.
    A is external and there you have an additional IP adress D.

    On network B and C you have two webservers, one on each network. Masquerading on external for net B is as usual. However, you cannot set up Masquerading for net C using the additional IP address D on the external interface.
Children