Set static IP for 1 client machine on openvpn
-
Hi
We have 1 client pc that uses openvpn to connect to our pfsense box running openvpn, i want to see if theres a way to create a reservation for this client machine to get the same ip everytime it connects to open vpn ?
the vpn is using its own virtual network
-
If you have only one client who connects to the server, he gets the same IP on each connection anyway and you can also control access by the whole tunnel subnet.
If you have multiple clients take a look at Client Specific Overrides.
https://doc.pfsense.org/index.php/OpenVPN_Settings
https://doc.pfsense.org/index.php/OpenVPN_multi_purpose_single_server#OpenVPN_Client_specific_overrides