Different external IP for every VPN client

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
immortalq
OpenVpn Newbie
Posts: 1
Joined: Fri Mar 04, 2016 1:31 am

Different external IP for every VPN client

Post by immortalq » Sun Mar 06, 2016 10:34 pm

Hey there,

I'm using OpenVPN Access Server Virtual Appliance for the VMWare ESXi Virtualization Platform and it works pretty well i have however one problem.

I have several external IP (assigned to eth0:1, eth0:2 etc...)

I have already configured VPN server to assign different static internal ip to every client (10.0.0.1, 10.0.0.2 etc...)

My problem is with assigning different external IP to every client.

So for example i want that:

client1 with internal ip 10.0.0.1 to have all traffic routed via external ip 194.12.x.1

client2 with internal ip 10.0.0.2 to have all traffic routed via external ip 194.12.x.2

etc...

How can i achieve that?

I am assuming i need to use iptables for that, the question is what exactly should i do? :)

Thanks in advance.

Post Reply