I am having trouble trying to work out the best way to set static IPs on clients connecting to an OpenVPN server.
The theoretical plan is to deploy linux servers that serve various linuxy things to multiple sites. Then have them connect to HQ where they can be accessed via ssh to be managed.
Each site would benefit from a static IP address being assigned.
I have pfsense setup with an OpenVPN server on layer 3 in my lab. I am able to connect to this from my VirtualBox Ubuntu server using the cli openvpn client. However, guides online tell you to update the server.conf to force an IP change. This conf file is not in the /etc/openvpn folder that the guide mentions.
So I’m not sure those guides are accurate.
My VirtualBox Ubuntu server is currently being assigned the IP address of 192.168.101.3 , but I would like to change it to 192.168.101.100 for concepts sake.
Will I have to create multiple OpenVPN servers in pfsense, forcing them to only issue 1 IP address? - I’m not even sure that is a viable option.
If anyone has previous of this, and could point me in the right direction I would be very grateful.