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 openvpn-install.sh?

    Thanks very much for your nice work.

  3. shetu says:

    I can not ping host vpn server

  4. nickchanger says:

    Hi
    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:
    server:
    plugin /usr/lib/openvpn/openvpn-plugin-auth-pam.so login
    client:
    auth-user-pass

  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:

    Hi,

    I already used this script a lot of times, and it always worked wonderfully, except for now.

    openvpn-install.sh: line 1: –2019-06-26: command not found
    openvpn-install.sh: line 2: syntax error near unexpected token ‘(‘
    openvpn-install.sh: line 2: ‘A resolver git.io (git.io)…52.203.53.176, 52.200.233.201, 52.7.169.168, …’

    Can you please help?

  9. sk says:

    Hi,

    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. https://github.com/angristan/openvpn-install/issues

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.