PPTP Ubuntu VPN Not Working

edited December 2017 in Linux VPN Setup
I have an Ubuntu server 16.04(GUI) machine that I used to run the PIA app on to connect. Unfortunately I need the VPN running for a few days straight sometimes and the app seems to turn itself off randomly. I decided to connect using Ubuntu's built in PPTP VPN connection using the settings I found on PIA. It connects successfully but my IP never changes. Any help would be appreciated!

Comments

  • On Linux, OpenVPN generally works a lot better than the alternatives. Thankfully NetworkManager hides a lot of it, but manually configuring PPTP or L2TP is just aweful compared to OpenVPN. I would heavily recommend using the NetworkManager OpenVPN setup instead, which uses the same technology and VPN profiles our app but integrates in the network menu just like the PPTP connection you're trying to set up.
  • edited December 2017
    Hmm, I actually tried your tutorial on setting up OpenVPN and it connected successfully but didn't change my IP, which lead me to try PPTP.
  • Can you paste us (or PM me) the output of this command? This will give us the OpenVPN log from NetworkManager and see why it's not working.

    grep -i openvpn /var/log/messages


  • I received no such file directory.
  • Ah sorry, I got my distros mixed up again. On Ubuntu 16.04 it's this one:
    grep -i openvpn /var/log/syslog
  • I ran the command, it seemed to have worked but it did not output anything.. It just shows a new command line.
  • you can try grep -i openvpn /var/log/*  and check the length of your syslog file ls -l /var/log/syslog

    no output is not good
  • Hmm yeah, no output for the grep command would indicate that NetworkManager isn't even doing anything OpenVPN related which is odd. Either that, or you haven't tried connecting in a while and the logs have been rotated.

    Have you tried connecting to the VPN before running the command? If not that would explain why you didn't get any output.
Sign In or Register to comment.