Specific IP for User Group

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
yakumoto100
OpenVpn Newbie
Posts: 1
Joined: Tue Apr 25, 2023 5:18 am

Specific IP for User Group

Post by yakumoto100 » Tue Apr 25, 2023 5:23 am

Hello

I am running OpenVPN on an EC2 instance using the official OpenVPN AMI. I don't have the server running in the cluster more and I want to setup so that some users are having a different internal IP from the rest of the users.
So far I tried adding a new network interface to my instance, setting it up to be visible by the server, but I can't setup that the users with a specific group use it when accessing other internal service through the VPN.
Also, tried using the Routing functionality but still the same IP appears to be used by all the clients.

Any suggestions on how I can debug this or try setting it up another way?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: Specific IP for User Group

Post by openvpn_inc » Tue May 16, 2023 11:41 am

Hello yakumoto100,

With routing the VPN client IP addresses will be visible on your network. That seems to be what you want. It does require that your network knows how to respond to that, by setting up static routes for the VPN client subnet that point to the Access Server. That's basic routing.

I suggest you contact our support and request assistance in diagnosing the issue. Using tcpdump and analyzing your configuration settings can probably point out where the issue is.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply