Skip to content

Web Interface

Mustafa Arıcı edited this page Oct 13, 2017 · 1 revision

Listening Port

OVPM Web Interface can be reached at port :8080 by default.

This can be changed by providing --web-port <desired_port> flag to ovpmd when running.

e.g

$ ovpmd --web-port 9090
INFO[0000] OVPM 0.2.4 is running gRPC:9090, REST:80 ... 

Authorization

Requests that are coming through the external IP address of the OVPM server is subject to authorization process (users should Login before accessing the Web Interface). But if the requests are coming through the OVPM's loopback ip address, then authentication process bypassed and admin access granted.

Bypassing Authorization (First Time or Emergency Access)

If it's your first time using OVPM and don't have an admin type user yet you can create one via CLI; or you can bypass web interface authorization by visiting the web interface using the server's loopback (127.0.0.1) address.

You can use SSH port forwarding to access server's loopback interface easily:

# Forwarding OVPM server's 127.0.0.1:8080 to local computer's 127.0.0.1:9000
$ ssh user@vpn.example.com -L 9000:127.0.0.1:8080

Now you can go to http://localhost:9000 to access the admin dashboard of OVPM.

Clone this wiki locally