Assuming you have access to your DNS server, you should be able to assign static IPs for each VPN client on your OpenVPN server and then make an entry to that static IP in DNS. ifconfig-push static.ip.to.assign sub.net.mask.used push "route any.subnet.to.route its.sub.net.mask" # push "dhcp-option WINS addr" # push "dhcp-option DNS addr"
How to assign a fixed ip-address to an openvpn user / lan 1. Create a folder called ccd inside /etc/openvpn/. #mkdir /etc/openvpn/ccd. 2. Add the following line to the openvpn server configuration file: client-config-dir ccd. 3. In /etc/openvpn/ccd/ you will create one file for each user you want to have a fixed ip address. You must name the … OpenVPN — Assigning OpenVPN Interfaces | pfSense … Feb 07, 2019
Assuming you have access to your DNS server, you should be able to assign static IPs for each VPN client on your OpenVPN server and then make an entry to that static IP in DNS. ifconfig-push static.ip.to.assign sub.net.mask.used push "route any.subnet.to.route its.sub.net.mask" # push "dhcp-option WINS addr" # push "dhcp-option DNS addr"
For your small business, this means that your employees are conducting company business securely -- rather than over the open Internet -- even when they aren't in the office. When configuring your company's OpenVPN server, you can assign users a static IP address that will always be the same, a convenient way to manage a small user base. OpenVPN / Re: [Openvpn-users] Assign publicly accessible
Next go to User Permissions and select a user you want to assign a static IP address. Click show to reveal more options for this particular user, and then set Select IP addressing to use static. Now a field is revealed where you can enter an IP address that falls within the static IP address network that you specified in the VPN Settings page.
May 10, 2007 OpenVPN server does not assign IP-addresses. | Howtoforge Nov 04, 2013 OpenVPN not assigning fixed IP - Server Fault