how install web interface openvpn ?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
sajjads24

how install web interface openvpn ?

Post by sajjads24 »

hi
how install webinterface openvpn after install on dietpi ?
(all things good just i need webinterface openvpn ?)

thanks
User avatar
WarHawk
Posts: 606
Joined: Thu Jul 20, 2017 8:55 am

Re: how install web interface openvpn ?

Post by WarHawk »

Does this help?

https://openvpn.net/index.php/access-se ... e-key.html
After successful installation of the OpenVPN Access Server package you will be shown the following information in your terminal:


The Access Server has been successfully installed in /usr/local/openvpn_as
Configuration log file has been written to /usr/local/openvpn_as/init.log
Please enter "passwd openvpn" to set the initial
administrative password, then login as "openvpn" to continue
configuration here: https://listeningip:943/admin
To reconfigure manually, use the /usr/local/openvpn_as/bin/ovpn-init tool.
Access Server web UIs are available here:
Admin UI: https://listeningip:943/admin
Client UI: https://listeningip:943/

You will need to run one more command before navigating to the OpenVPN Access Server Admin UI. You will need to set a password for the openvpn admin account, to do that you can run the following command in terminal:

passwd openvpn

After doing so you can navigate to the OpenVPN Access Server Admin UI. If you require a more advanced configuration you can go ahead and run the ovpn-init script:

/usr/local/openvpn_as/bin/ovpn-init
User avatar
WarHawk
Posts: 606
Joined: Thu Jul 20, 2017 8:55 am

Re: how install web interface openvpn ?

Post by WarHawk »

Just looked...OpenVPN Access Server only supports 32bit and 64bit architecture

Also...there are two version...OpenVPN access server...which appears to be a "pay server" and the community OpenVPN that is completely free but has to be manually configured
https://openvpn.net/index.php/access-se ... icing.html
CPU Architecture:
You will need to make sure you install the correct package depending on your CPU Architecture (32bit or 64bit)
https://openvpn.net/index.php/access-se ... guide.html

If you installed pivpn (which is a script that installs openvpn [the free community version]) it has scripts where you can add users thru the shell

Code: Select all

# pivpn    
::: Control all PiVPN specific functions!
:::
::: Usage: pivpn <command> [option]
:::
::: Commands:
:::  -a, add [nopass]     Create a client ovpn profile, optional nopass
:::  -c, clients          List any connected clients to the server
:::  -d, debug            Start a debugging session if having trouble
:::  -l, list             List all valid and revoked certificates
:::  -r, revoke           Revoke a client ovpn profile
:::  -h, help             Show this help dialog
:::  -u, uninstall        Uninstall PiVPN from your system!
I did find this https://github.com/adamwalach/openvpn-web-ui
But unfortunately the requirements...docker-compose is not compiled for arm architecture...once again only for x86 and x64
Requirements:

docker and docker-compose
on firewall open ports: 1194/udp and 8080/tcp
unless someone wants to build it for arm
https://gist.github.com/oysteinjakobsen ... 88ee8a418a

This one uses a webserver and sql and php
https://github.com/Chocobozzz/OpenVPN-Admin
Post Reply