Use users static IP instead of VPN server one

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
nicklos
OpenVpn Newbie
Posts: 1
Joined: Thu Aug 22, 2019 1:26 pm

Use users static IP instead of VPN server one

Post by nicklos » Thu Aug 22, 2019 1:59 pm

Hi,

I have installed an open vpn as server using the image from the AWS marketplace and configured it using NAT to access all VPCs on our account.

I'm using Access Server 2.7.4 on Ubuntu 18.04.

Due to some security polices I assigned the users static ips from a configured Static IP Address Network and configured the subnets each user can reach individually.

Connections work as expected, but I need that the clients use their static IP for connections instead of the vpn server one (some kind of forwarding?).

For example:
My openvpn server has the private ip 192.168.1.10.
My user is configured to get the static ip 10.0.0.3.
I log in with the client to OpenVPN, I get my 10.0.0.3 ip and I can ssh to a server with IP 192.168.2.50 as expected, but that connection is from 192.168.1.10, I need it to be from 10.0.0.3

Your help is much appreciated.

Post Reply