Page 1 of 1

Access to Admin Web by local ip

Posted: Tue Jul 25, 2023 6:50 pm
by RuslanNova
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

Re: Access to Admin Web by local ip

Posted: Wed Jul 26, 2023 7:58 am
by openvpn_inc
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

Re: Access to Admin Web by local ip

Posted: Wed Jul 26, 2023 8:12 am
by RuslanNova
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.

Re: Access to Admin Web by local ip

Posted: Sat Jul 29, 2023 11:15 am
by openvpn_inc
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