VPN en - Patlol/Handy-Install-Web-Server-ruTorrent- GitHub Wiki

OpenVPN

copie d'écran === OpenVPN ==> copie d'écran

VPN installed with the Angristan's script (MIT License),

With his kind permission. thanks to him.

Github repository: https://github.com/Angristan/OpenVPN-install
Angristan's blog: https://angristan.fr/installer-facilement-serveur-openvpn-debian-ubuntu-centos/

Excellent script focused on security, allowing a issue-free installation on servers Debian, Ubuntu, CentOS et Arch Linux.

On HiwsT-util.sh. After activating the firewall, choose 'Install/uninstall OpenVPN'

  • At first pass the script
    • Install OpenVPN,
    • Creates certificate and keys for a user,
    • Server setup
    • Add iptables rules.
    • Provides a client configuration file placed in the ad hoc user directory.
    • If necessary, think to copy it to the user's directory so that the user can retrieve it by sftp.
  • To following pass the script offer you
    • To remove an existing certificate, prohibiting the use of VPN for this user.
    • Add a certificate: new user.
    • Uninstall OpenVPN

At the question Tell me a name for the client cert
give the name of the linux user to what is intended the vpn if you share your server, it will be more convenient!

Installing an OpenVPN Client

Locally following your OS

linux

cf. openvpn.net

  • Install openVPN
    sudo apt-get install openvpn
  • Check
    openvpn --version
  • Retrieve your configuration file from server
    scp -P<ssh port> <user>@<IP>:/home/<user name/file name>.ovpn <path/where/you/want/locally>
    'P' in uppercase
  • Run
    nohup sudo openvpn --config <path/where/you/want/locally/file name>.ovpn
    nohup allows to close the terminal without killing the process

windows, Mac OSX, androïd...

Many tutorials available
cf. openvpn.net
openVPN GUI Windows
and so on...

⚠️ **GitHub.com Fallback** ⚠️