LAN communication via CARP IP
-
Hi,
I have setup two pfsense boxes with HA and they will run OpenVPN.I want in case of failure of one pfsense the other node to take the role and keep my vpn clients connected ,.
I have setup the openvpn to use microsoft AD for radius authenticaiton. How can i make pfsense use the CARP LAN IP for communcating with AD and internal firewall for implementing access rules over there.
Is pfsense using the outgoing interface ip of Master node for internetal lan communcation for traffic originating from pfsense box say for radius authentication ? or for routing traffic to internal subents that are behind another firewall.
or is it by default using the carp vip for lan communcation. -
@Snailkhan
By default the primary interface IP is used for communication with other devices.If you want pfSense to use the CARP VIP you have to add an outbound NAT rule to LAN or the respective interface and set the CARP VIP as translation address.
However, don't do this for any traffic! It would lead into issues with services running on both nodes, e.g. DHCP.
So limit the destination (IP and port) to the domain controller or whatever you need it for.