User Tools

Site Tools


wiki:adding_openvpn_users

This is an old revision of the document!


Add VPN users

Create new user

adduser --no-create-home --shell /bin/false vpnuser

Assign vpn ip address

Inside of /etc/openvpn/ccd/ add new file with same name as user's name (“vpnuser” in this example) and next 2 ip adresse which are not used from this table

Check if there are other files in ccd directory.

Check that the ips are not blocked by firewall. First ip needs to be whitelisted.

Tested on

  • Debian 10.7
  • OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019 library versions: OpenSSL 1.1.1d 10 Sep 2019, LZO 2.10

References

wiki/adding_openvpn_users.1607698397.txt.gz · Last modified: 2020/12/11 15:53 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki