Ask Your Question
1

Auto connect VPN

asked 2015-12-23 15:47:03 -0600

VinceK gravatar image

updated 2015-12-23 16:16:34 -0600

A wired connection auto-reconnects on return from hibernation, I could do with an OpenVPN connection also auto reconnecting - this is usually a configuration option of the wired connection in GNOME (i.e., to auto-connect to a VPN), is there a workaroound?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2016-05-06 15:11:42 -0600

ssieb gravatar image

If you always want the VPN connected, you can use nm-connection-editor to link the VPN connection to your wired connection.

edit flag offensive delete link more
0

answered 2016-05-07 05:06:02 -0600

cialu gravatar image

Usually you only need to use the Auto-Connect Behavior under VPN settings in Network Manager.

It's well explained in the official documentation: Configuring the VPN Connection, Auto-Connect Behavior, and Availability Settings

If you have problems, there are many alternatives, also avoiding Network Manager. For example: you can create a dispatcher that will connect your VPN and start it like a service with Systemd.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-12-23 15:47:03 -0600

Seen: 3,950 times

Last updated: May 07 '16