Outbound NAT - lose connectivity
-
@michmoor said in Outbound NAT - lose connectivity:
so far what works is using the Interface IP on the firewall
pfSense has to have the address, to receive the reply packets. Just like using NAT on WAN, the Internet replies to the WAN IP and pfSense translates that to the LAN IP.
Did you try adding your custom IP to the interface as a virtual IP?
-
@michmoor said in Outbound NAT - lose connectivity:
The documentation states to use an Alias
As mentioned here three times already, the translation address has to be assigned to the pfSense interface, either its's the primary interface address or a virtual IP.
You can state an alias though, but this condition has to be matched anyway.
Any IP assigned to pfSense interfaces can be selected from the drop-down. That's why I'm wondering that you were stating an alias there.You can also translate the source to any other address, but doing so, this IP has to be routed to pfSense on the destination device, which might not be the case in your network, I guess.
-
We do this all the time. It works.
You should post a screen shot of your Outbound NAT configuration. And the VIP configuration.
If this is just one address you should try it using the address instead of the Alias to eliminate any potential limitations there. With a VIP defined you should be able to select the VIP there and avoid using the alias entirely.
ETA (jinx)
-
You just need to add the IP as an IPAlias VIP on the DMZ and it will work fine.
As mentioned you can translate outbound to anything you like but without that, in this situation, the replies will fail.
Steve
-
I am with viragomann, I still don't get why a VIP should be uses if the IP is a private one, just use pfSense IP-address on that interface for NATing.
So probably I missed the usecase here. -
@bob-dig You certainly can do that.
-
Sure you can do that and it will work out of the box. But if you translate to a different IP you can see that on the destination so you could use it to identify traffic, for example.
-
@stephenw10 Creating an IP Alias was the ticket. Thanks everyone.
-
@stephenw10 said in Outbound NAT - lose connectivity:
Sure you can do that and it will work out of the box. But if you translate to a different IP you can see that on the destination so you could use it to identify traffic, for example.
This is pretty much one of two reasons why this was needed here.
-
@derelict Thanks for your help. I was using an Alias but NOT the IP Alias which is what was needed here. Thank you for your help here.