You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
Executesetup.sh and edit the new configuration located in/etc/versa/config.sh
If everything is properly configured, install OpenVPN with:
versa install
This process is completely automated and should take some time.After that, you should restart your session to take advantage of the bash-completion feature.
Adding and removing users
Adding a new user is fairly easy:
versa useradd peter
Just enter a password, an optional IP and the permissions that should be granted to the user.Take the following groups if the user should be an admin:gateway,admin //Note that there are no whitespaces in between!And just takegateway if it is a standard user.
To remove an existing user:
versa userdel peter
Groupsystem (target-groups and access-groups)
versa can handle VLAN and custom vpn-configs via a groupsystem.You can define your own groups in your configuration file.
Access-group
Access-groups grant permissions to a user.Example: If a user is in the access-groupgateway, it now has permissions to access the internet via the VPN.
The following default access-groups are available:
gateway (Grants permissions to reach the internet via VPN)
admin (Grants permissions to reach everything in the VPN (excluding the gateway))
server (Grants permissions to reach everything on the vpn-server)
gaming (Everyone who is in the access-group gaming, can reach every client who is in the target-group gaming)
infrastructure (same as gaming)
Target-groups
Target-groups are used to mark a collective of clients.Example:
User
Access
Target
Tom
gaming
gaming
James
gaming
Paul
gaming
Tom can reach Paul
James can reach Tom and Paul
Paul cannot reach anyone
Need more information?
Just typeversa in the terminal to get a list of all available commands.
About
This is a OpenVPN CLI-frontend, which makes it easy to setup and manage a OpenVPN server.