PiVPN – Simplest OpenVPN Setup And Configuration, Designed For Raspberry Pi

PiVPN - Simplest OpenVPN Setup And Configuration

9 Responses

  1. aLilBabyOtter says:

    So I have it all set up, and I have OpenVPN installed on my computer and Android phone, but how do I connect to the Pi?

    • RuthlessPragmatic says:

      Pull the .ovpn file from the Pi for the user you want, and send it to each device. Easiest thing to do is email it but there are other ways that the app provides for. Open the file in the Open VPN app and then when put in the details for your server/username and the password you generated during the setup of that user. Device will then connect.
      Bear in mind that the combination of the password and the .ovpn file is effectively the keys to your front door – control them carefully.

  2. Bedananda Gautam says:

    i have configured it correctly and how to view the status of connected client in the raspberrry pi please do mention it.

  3. Bill Steiner says:

    Installing and using PiVPN was the easiest method of setting up OpenVPN I have come across in the last 3 years of trying to setup a VPN. After setting it up on 3 separate Pi’s at 3 separate locations and importing the ovpn file into the OpenVPN app on my phone it connected right away.
    Now if I could just get someone to help me translate the ovpn file settings so I could use the settings to connect my router. The router runs a version of Tomato that has a built in OpenVPN client and server but I have yet to get it to connect to the Pi because I don’t know how to transfer the settings based on the ovpn file created on the PI.

  4. Betr Magin says:

    I get this error in the OpenVPN client when it tries to connect:
    Sat May 18 16:06:08 2019 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    Sat May 18 16:06:08 2019 TLS Error: TLS handshake failed
    Sat May 18 16:06:08 2019 SIGUSR1[soft,tls-error] received, process restarting
    Sat May 18 16:06:08 2019 MANAGEMENT: >STATE:1558209968,RECONNECTING,tls-error,,,,,

  5. Paul George says:

    I have my own PiHole DNS server running. So how do I implement my Pihole as choosen DNS Server??

  6. PiHome says:

    @Betr Magin
    check encryption strength is set to 2048 while installing otherwise you’ll have this error, check your openvpn logs and you will have something like
    ovpn-server[1372]: OpenSSL: error:1408518A:SSL routines:ssl3_ctx_ctrl:dh key too small

  7. Pivpn sockss says:

    remove it from your system fast as you can. It is a complete bug!!!

  8. Matthew says:

    Thank you for the easy install with PiVPN.

    The main issue I am having is that I am not able to access any computers on my local network.
    There is no route in any of the config files. I added some (push “routes”) but still no access.
    Can someone please add and example config file; Client and or Server; that has local route options configured?

    Thank You in advance.

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.