View previous topic :: View next topic |
Author |
Message |
superdeez n00b
Joined: 10 May 2015 Posts: 61
|
Posted: Mon Oct 07, 2024 11:13 am Post subject: Best VPN for a Gentoo router with no GUI |
|
|
Basically what the title says. Looking to implement a VPN in the next couple of months. I tried one, but every time I would start the service I would have to enable ssh to use a browser on another computer to login. Is there a VPN where I can use openvpn as a client without having to switch to a computer with a GUI and copy/paste into an xterm? |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3467
|
Posted: Mon Oct 07, 2024 1:00 pm Post subject: |
|
|
Are you looking for a technology to deploy on your own infrastructure, or for a 3rd party service provider?
And what is your primary objective, because a privacy vpn is not necessarily the best option for connecting company's branches to the headquarters. _________________ Make Computing Fun Again |
|
Back to top |
|
|
pa4wdh l33t
Joined: 16 Dec 2005 Posts: 891
|
Posted: Mon Oct 07, 2024 3:09 pm Post subject: |
|
|
OpenVPN can be used without any GUI or user interaction.
The trick is to use keys/certificates for authentication and create a key without a password. _________________ The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world
My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com |
|
Back to top |
|
|
saturnalia0 Apprentice
Joined: 13 Oct 2016 Posts: 159
|
Posted: Mon Oct 07, 2024 5:22 pm Post subject: |
|
|
Quote: |
. Is there a VPN where I can use openvpn as a client without having to switch to a computer with a GUI and copy/paste into an xterm?
|
Yes, I use ProtonVPN for this purpose. They allow downloading the .ovpn files, you just need to call `openvpn the-downloaded-file.ovpn`:
https://account.protonvpn.com/downloads
I think this is just for the paid plan, I'm not sure.
You can edit the file to point to a key or password file so there is no user interaction to bring up the VPN, e.g.:
Code: |
auth-user-pass /etc/openvpn/pass.txt
|
I have a set of scripts that use iptables to DROPs everything on eth0 except to the endpoints contained in the ovpn file, otherwise ACCEPTing only tun0, as to avoid VPN leaks. Let me know if you think it's useful and I can share. |
|
Back to top |
|
|
lars_the_bear Guru
Joined: 05 Jun 2024 Posts: 537
|
Posted: Mon Oct 07, 2024 5:55 pm Post subject: |
|
|
saturnalia0 wrote: |
Yes, I use ProtonVPN for this purpose. They allow downloading the .ovpn files, you just need to call `openvpn the-downloaded-file.ovpn`:
|
FWIW PIA VPN also provides OpenVPN configuration files.
BR, Lars. |
|
Back to top |
|
|
superdeez n00b
Joined: 10 May 2015 Posts: 61
|
Posted: Thu Oct 10, 2024 3:59 am Post subject: |
|
|
Sorry for the delay. Been dealing with a hurricane. So it sounds like the consensus is ProtonVPN works well with OpenVPN as a client? |
|
Back to top |
|
|
|