Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

This is a OpenVPN CLI-frontend, which makes it easy to setup and manage a OpenVPN server.

License

NotificationsYou must be signed in to change notification settings

denialofsandwich/very-easy-rsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a OpenVPN frontend, which makes it ridiculously easy to setup and manage a OpenVPN server.

IMPORTANT I tested it on Debian 9 only.

Install

To install this script, clone the repository:

git clone https://github.com/denialofsandwich/very-easy-rsa.git

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:

UserAccessTarget
Tomgaminggaming
Jamesgaming
Paulgaming
  • 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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp