Jump to content

I 'm curious


G+_Jason Brown
 Share

Recommended Posts

I'm curious. Who here has experience with installing PiVPN on a standard Ubuntu machine? At this point I can install it with my eyes closed on a Pi. On Ubuntu, it installs fine, but it won't connect.

 

I've setup a local VPN profile that points to my internal address, so my router is completely out of the mix until I get it working. I have enabled port forwarding via 'ufw' and have verified that my ports are, in fact, being forwarded. So I'm confident the software firewall isn't the problem either. Whenever I try to connect to Ubuntu, I get an error telling me to remove the --remote switch or add --float.

 

I've scoured the forums, but can find no reference what file I'm supposed to edit, and where I'm supposed to put those switches. All I can find are posts where something more complex is the issue, or the admin just forgot to enable port forwarding.

 

Ultimately, I've resigned myself to just being okay using the Pi for now. But I do like to repurpose those things a lot, and I also have a pretty nice Linux home server with very little to do.

Link to comment
Share on other sites

Two thoughts for you. First, PiVPN is just a simplified way to set up OpenVPN, so you can look at the OpenVPN documentation for information on the --remote and --float switches.

 

Second, I would assume that the server side has a --remote option in its configuration file, which is dictating the IP address to expect the vpn connection from. Whichever device is acting as the server, you'll need to edit the open vpn config file, and probably just comment out the remote option.

 

Another option is to add the "float" option to both device's configuration files.

Link to comment
Share on other sites

I installed it on a Centos VM. Had to make one change afterwards for selinux, but install/setup worked the same as on a Pi.

 

If you can't get Pi VPN working, look up "OpenVPN Road Warrior". It's a similar setup script that came out around the same time as PiVPN (maybe before) and is designed for Ubuntu, Centos, etc.

github.com - Nyr/openvpn-install

 

But PiVPN installed fine for me.

Link to comment
Share on other sites

 Share

×
×
  • Create New...