Access to Admin Web by local ip

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
RuslanNova
OpenVpn Newbie
Posts: 2
Joined: Tue Jul 25, 2023 2:30 pm

Access to Admin Web by local ip

Post by RuslanNova » Tue Jul 25, 2023 6:50 pm

Hello. I can access the OPENVPN server using the external IP and PORT, for example https://xx.xx.xx.xx:XXX/admin/ . How can I set up access to the admin panel over the local network? In the web admin panel, the Listen on all interfaces ALL item is selected, but I can’t log in at 127.0.0.1, which means that OPENVPN must have some kind of local IP through which you can log in.

THANKS

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

Re: Access to Admin Web by local ip

Post by openvpn_inc » Wed Jul 26, 2023 7:58 am

Hello,

If you have a typical setup with an internal network and your server has a private IP address, then use that.

If not and your system is directly on the Internet, and you want a way to access the admin web interface only when connected to the VPN, add a dummy network adapter and give it an IP in a private range and grant access to your VPN user to that IP and configure the admin web service to listen only there (and turn off service forwarding for the admin web interface).

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

RuslanNova
OpenVpn Newbie
Posts: 2
Joined: Tue Jul 25, 2023 2:30 pm

Re: Access to Admin Web by local ip

Post by RuslanNova » Wed Jul 26, 2023 8:12 am

openvpn_inc wrote:
Wed Jul 26, 2023 7:58 am
Hello,

If you have a typical setup with an internal network and your server has a private IP address, then use that.

If not and your system is directly on the Internet, and you want a way to access the admin web interface only when connected to the VPN, add a dummy network adapter and give it an IP in a private range and grant access to your VPN user to that IP and configure the admin web service to listen only there (and turn off service forwarding for the admin web interface).

Kind regards,
Johan
The problem is that I know what to do, but I don't understand how to implement it.

my VPN server is on the internet.

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

Re: Access to Admin Web by local ip

Post by openvpn_inc » Sat Jul 29, 2023 11:15 am

Hi,

You need access to the terminal of your server (via SSH client or serial console or the like) and configure a dummy network adapter as suggested.
Else please clarify what you mean by how to implement.

Regards,
.\kionci
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