flant / ovpn-admin

Simple web UI to manage OpenVPN users.
Apache License 2.0
1.39k stars 261 forks source link

Set Configuration #201

Open X-UIP opened 1 year ago

X-UIP commented 1 year ago

How can set password, Port, ip panel for configuration ovpn admin panel? I see all of commands but no where for set user,pass,ip,port!?

trooper1 commented 1 year ago

also interested question above. How to secure web-admin panel at least with login/password ?

pashcovich commented 1 year ago

right now there is no way to set a login/password for the web interface, but you can use nginx or other software for this. ip and port can be set by specifying the flags

  --listen.host="0.0.0.0"      host for ovpn-admin
  (or OVPN_LISTEN_HOST)

  --listen.port="8080"         port for ovpn-admin
  (or OVPN_LISTEN_PORT)