Page 1 of 1

One Public IP for every users

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

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:
xxx.22.49.58
xxx.22.49.59
xxx.22.49.60
xxx.103.16.11
xxx.103.8.7
xxx.103.8.9

Internal IP's:
User 1: 10.0.8.2
User 2: 10.0.8.3
User 3: 10.0.8.4
User 4: 10.0.8.5

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.

http://thread.gmane.org/gmane.network.o ... ocus=36139

You are so lucky I remember :mrgreen: