Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Best VPN for a Gentoo router with no GUI
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
superdeez
n00b
n00b


Joined: 10 May 2015
Posts: 61

PostPosted: Mon Oct 07, 2024 11:13 am    Post subject: Best VPN for a Gentoo router with no GUI Reply with quote

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
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3477

PostPosted: Mon Oct 07, 2024 1:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
pa4wdh
l33t
l33t


Joined: 16 Dec 2005
Posts: 892

PostPosted: Mon Oct 07, 2024 3:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
saturnalia0
Apprentice
Apprentice


Joined: 13 Oct 2016
Posts: 159

PostPosted: Mon Oct 07, 2024 5:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
lars_the_bear
Guru
Guru


Joined: 05 Jun 2024
Posts: 537

PostPosted: Mon Oct 07, 2024 5:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
superdeez
n00b
n00b


Joined: 10 May 2015
Posts: 61

PostPosted: Thu Oct 10, 2024 3:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum