An Easiest Way To Install And Configure OpenVPN Server In Linux

Install And Configure OpenVPN

10 Responses

  1. Maximilian Haefner says:

    Very nice and easy guide!
    Helped me a lot, but how can I build my .ovpn files, so that they need an authentication before opening the tunnel?

  2. EDA says:

    Yes. Very well done. The install script works perfectly.

    Question: who actually created

    Thanks very much for your nice work.

  3. shetu says:

    I can not ping host vpn server

  4. nickchanger says:

    I tried to install the scripts on an server (my own (vpn-)server abroad, running debian) and on openwrt on my router (linksys wrt1900acs).
    Both scripts worked and I see the gateway by checking ip addr on my router.
    But I get no Internet connection on router or laptop (behind router). I think I have to do further “mapping” between WAN-Connection and tun0 on router. Can anybody help?

  5. Susana says:

    This is awesome. And very very easy. Now, can we add user authentication to this? How can we do it?

    Thank you so much

  6. kriss says:

    Perfect script! I added linux user authentication
    configuration in: server.conf / client.ovpn appropriate entries:
    plugin /usr/lib/openvpn/ login

  7. kriss says:

    I installed on the ARM Odroid – HC1 platform!
    Unfortunately, I do not know if the script will work on Ubuntu / Linux Mint because as I see in these versions of linux there is no rc.local file?
    I have to check it out 🙂

  8. Susana says:


    I already used this script a lot of times, and it always worked wonderfully, except for now. line 1: –2019-06-26: command not found line 2: syntax error near unexpected token ‘(‘ line 2: ‘A resolver (…,,, …’

    Can you please help?

  9. sk says:


    I deleted this setup along time ago.So, I can’t help now. Please look at the issues page and see if it helps to solve your problem.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.