I have a vps server and I ordered extra 8 static ips and they are rerouted to the vpn server.
What I have so far: - Ubuntu server 14.04 - Working openvpn server and client in tun mode
Current status: All clients connected to openvpn server get assigned the ip address 37.xxx.xxx.112
Plan: Each connected client (Linux pcs running Ubuntu 14.04 as well) gets assigned one of those 8 static ips. They are in the range 184.108.40.206 to 220.127.116.116, but they could have been also non sequential.
I'm just trying to wrap my head around the whole thing, so please help me out:
For each user assign a fixed ip:
Add the following line to client1
Code: Select all
ifconfig-push 18.104.22.168 10.8.0.5
Use ifconfig-pool to assign a pool to the users, BUT 1. This option seems to be used for specifying an internal ip pool not external one 2. It can not be specified multiple times, but what if I have several pools, subnet masks
So to wrap up my question: How to configure openvpn server to allocate a unique public IP address from ip several pools?