Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
39
rated 0 times [  39] [ 0]  / answers: 1 / hits: 62795  / 1 Year ago, sat, january 7, 2023, 5:56:27

I am using Ubuntu 12.04.2 LTS, 64-bit, OpenVPN client 2.3.1



How do I prevent OpenVPN from autostarting at boot-up or reboot?


More From » startup

 Answers
0

You have two options:




  • Run:



    sudo update-rc.d openvpn disable


    Then you'll have to run sudo service openvpn start to manually start the VPN.


  • Or edit the file /etc/default/openvpn



    sudo gedit /etc/default/openvpn


    And uncomment the line:



    #AUTOSTART="none"


    So it looks like:



    AUTOSTART="none"


    Then you'll have to run sudo service openvpn start <vpn-name> to manually start the VPN. <vpn-name> is the config file name without .conf.



[#30919] Saturday, January 7, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aciousoun

Total Points: 178
Total Questions: 110
Total Answers: 98

Location: Lithuania
Member since Fri, Sep 4, 2020
4 Years ago
;