Page 1 of 1

One Public IP for every users

Posted: Sat Nov 14, 2015 12:55 am
by yourdom

it is to give its own public IP every possible user?

My server has several public IP's and these should be provided fixed users about OpenVPN with ingoing and outgoing traffic.

Public IP's for Users:

Internal IP's:
User 1:
User 2:
User 3:
User 4:

How do I provide users with a public IP?
User 1: xxx.22.49.58 , User 2: 22.49.59 , ......

My server is a Debian Jessie.
IPv4 Net Forward is active.

Thanks for your answer.

Re: One Public IP for every users

Posted: Fri Nov 20, 2015 12:52 am
by Traffic
This can be done using --client-connect script and iptables

This was discussed on the OpenVPN Mailing list. ... ocus=36139

You are so lucky I remember :mrgreen: