Ask Your Question
1

[F25/VPN] How to autoconnect to a VPN securely

asked 2017-01-31 12:24:14 -0500

psmis gravatar image

Please read before closing this as duplicate. I am aware that similar questions exist already, but they don't solve my problem and/or are outdated.

Software: Fedora 25 Gnome Workstation x64; openVPN

Question: I want my System to automatically connect to a VPN (openVPN) without ANY data bypassing the VPN. In the gnome-network GUI there is no option to autoconnect to a VPN, also I am not sure if I have to use additional counter-measures against DNS-leaks and similar known problems.

What I did was: 1. Open Gnome network settings 2. Import my ovpn file 3. Enable the VPN

edit retag flag offensive close merge delete

Comments

You need to open Gnome network settings then your VPN connection on IPV4 make sure the box that say "Use this connection only for the resources of this net" is not checked, then it will make all traffic to go to the VPN.

aeperezt gravatar imageaeperezt ( 2017-02-01 18:16:57 -0500 )edit

The box is not checked. The problem that my VPN doesn't connect automatically on boot-up still persists.

psmis gravatar imagepsmis ( 2017-02-02 11:36:02 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-02-02 12:17:22 -0500

psmis gravatar image

updated 2017-02-02 12:46:07 -0500

wow...I finally found it but it really is not very intuitive...

  1. Open the Network Manager from the terminal: nm-connection-editor
  2. Edit the settings as show in the picture vpn-autoconnect-instruction

Edit: Changed the picture to internal hosting

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-01-31 12:24:14 -0500

Seen: 1,287 times

Last updated: Feb 02 '17