Redirect local public IP to VPN public IP
-
Hello masters!
I just got into the world of Pfsense.I have a VPN connection and everything is fine. I would like to know how to make my public IP the same as that of a user on the server network when connecting to the VPN.
Example: Without a VPN connection, my public IP is: 190.189.111.274, but when I connect to the VPN it remains the same.
In Pfsense the public IP 240.178.127.177 is configured. How can I make my public IP also change when connecting to the VPN -
@gasper_gt
In the OpenVPN server settings check "Redirect gateway". This pushes the default route to the clients.Additionally there is an outbound NAT rule necessary on WAN for the the source of the VPN tunnel network. If it isn't added automatically by pfSense you have to configure it manually.