NAT public IP through multi way
-
Evening,
I have a Pfsense box with two way.First way, WAN is connected through radio PTP with private ip to a Mikrotik router that is connected to ISP
Second path, tunnel GRE with the same router Mikrotik (created by FTTH PPOE)
I have a public subnet /30 routed on the two paths with different weight (primary FTTH and Radio like backup)
I would like NAT the LAN with the public subnet /30
How can I do?
I am thinking to configure the public IP /30 like Virtual IP on the LAN interface. So it is independent from the output interfaces. And then create Nat rules.
What do you think?
Thanks a lot
Ps. Sorry for my bad English, I'm Italian
-
@lukeluke1979
There is no need to assign the public IP to sn interface. Just add NAT rules on both WANs with custom translation address. -
@viragomann thanks a lot. From lan to wan works right.
I must test how it works for some internal exposed services.