How can I configure Network Manager to connect to my VPN automatically at startup?

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
jplush
Level 1
Level 1
Posts: 2
Joined: Mon Feb 12, 2018 4:17 am

How can I configure Network Manager to connect to my VPN automatically at startup?

Post by jplush » Mon Feb 12, 2018 4:42 am

I followed Nord's Network Manager tutorial and it worked perfectly. Awesome. But I wish I could set Network Manager to connect to my VPN automatically, and not have to switch it on myself every time I boot up.

Now I can run it from the shell (and therefore as a startup command), but then I can't use the handy Network Manager applet to toggle it.

User avatar
catweazel
Level 14
Level 14
Posts: 5464
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How can I configure Network Manager to connect to my VPN automatically at startup?

Post by catweazel » Mon Feb 12, 2018 4:52 am

Assuming that you have used the Network Manager to import your VPN servers, you can change edit your main connection to select the VPN server to conect to. IIRC, it's on the General tab of your main connection.
A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it. - Max Planck

jplush
Level 1
Level 1
Posts: 2
Joined: Mon Feb 12, 2018 4:17 am

Re: How can I configure Network Manager to connect to my VPN automatically at startup?

Post by jplush » Mon Feb 12, 2018 5:15 am

Indeed it is! Thank you!

Post Reply

Return to “Other networking topics”