Removing OpenVPN and all modifications












1















When starting up my server takes a long time. I already tried sudo apt-get remove openvpn but somewhere it's still trying to setup OpenVPN. When I connect to the server I get all these internal VPN addresses:



System load:          0.02                IP address for as0t3:  5.5.3.1
Usage of /: 13.5% of 212.98GB IP address for as0t4: 5.5.4.1
Memory usage: 4% IP address for as0t5: 5.5.5.1
Swap usage: 0% IP address for as0t6: 5.5.6.1
Processes: 164 IP address for as0t7: 5.5.7.1
Users logged in: 0 IP address for as0t8: 5.5.8.1
IP address for eth0: my_ip_here IP address for as0t9: 5.5.9.1
IP address for as0t0: 5.5.0.1 IP address for as0t10: 5.5.10.1
IP address for as0t1: 5.5.1.1 IP address for as0t11: 5.5.11.1
IP address for as0t2: 5.5.2.1


When I check /etc/networking/interfaces it is empty.



root@ubuntu:~# ls -l /etc/openvpn
total 12
drwxr-xr-x 2 root root 4096 Mar 11 22:27 easy-rsa
-rw-r--r-- 1 root root 636 Dec 6 18:35 static.key
-rwxr-xr-x 1 root root 1357 Feb 26 2013 update-resolv-conf
root@ubuntu:~# dpkg -l | grep vpn
rc openvpn 2.2.1-8ubuntu1.2 virtual private network daemon
ii openvpn-as 1.8.4-Ubuntu10 openvpn-as









share|improve this question

























  • Post the output of dpkg -l | grep vpn and ls -l /etc/openvpn.

    – Eric Carvalho
    Apr 25 '14 at 22:40











  • @EricCarvalho I added them to the bottom of the question

    – gabeio
    Apr 28 '14 at 12:31






  • 3





    sudo apt-get purge openvpn*?

    – arsaKasra
    Apr 28 '14 at 14:53











  • @arsaKasra thanks that helped too!

    – gabeio
    Apr 28 '14 at 15:48
















1















When starting up my server takes a long time. I already tried sudo apt-get remove openvpn but somewhere it's still trying to setup OpenVPN. When I connect to the server I get all these internal VPN addresses:



System load:          0.02                IP address for as0t3:  5.5.3.1
Usage of /: 13.5% of 212.98GB IP address for as0t4: 5.5.4.1
Memory usage: 4% IP address for as0t5: 5.5.5.1
Swap usage: 0% IP address for as0t6: 5.5.6.1
Processes: 164 IP address for as0t7: 5.5.7.1
Users logged in: 0 IP address for as0t8: 5.5.8.1
IP address for eth0: my_ip_here IP address for as0t9: 5.5.9.1
IP address for as0t0: 5.5.0.1 IP address for as0t10: 5.5.10.1
IP address for as0t1: 5.5.1.1 IP address for as0t11: 5.5.11.1
IP address for as0t2: 5.5.2.1


When I check /etc/networking/interfaces it is empty.



root@ubuntu:~# ls -l /etc/openvpn
total 12
drwxr-xr-x 2 root root 4096 Mar 11 22:27 easy-rsa
-rw-r--r-- 1 root root 636 Dec 6 18:35 static.key
-rwxr-xr-x 1 root root 1357 Feb 26 2013 update-resolv-conf
root@ubuntu:~# dpkg -l | grep vpn
rc openvpn 2.2.1-8ubuntu1.2 virtual private network daemon
ii openvpn-as 1.8.4-Ubuntu10 openvpn-as









share|improve this question

























  • Post the output of dpkg -l | grep vpn and ls -l /etc/openvpn.

    – Eric Carvalho
    Apr 25 '14 at 22:40











  • @EricCarvalho I added them to the bottom of the question

    – gabeio
    Apr 28 '14 at 12:31






  • 3





    sudo apt-get purge openvpn*?

    – arsaKasra
    Apr 28 '14 at 14:53











  • @arsaKasra thanks that helped too!

    – gabeio
    Apr 28 '14 at 15:48














1












1








1








When starting up my server takes a long time. I already tried sudo apt-get remove openvpn but somewhere it's still trying to setup OpenVPN. When I connect to the server I get all these internal VPN addresses:



System load:          0.02                IP address for as0t3:  5.5.3.1
Usage of /: 13.5% of 212.98GB IP address for as0t4: 5.5.4.1
Memory usage: 4% IP address for as0t5: 5.5.5.1
Swap usage: 0% IP address for as0t6: 5.5.6.1
Processes: 164 IP address for as0t7: 5.5.7.1
Users logged in: 0 IP address for as0t8: 5.5.8.1
IP address for eth0: my_ip_here IP address for as0t9: 5.5.9.1
IP address for as0t0: 5.5.0.1 IP address for as0t10: 5.5.10.1
IP address for as0t1: 5.5.1.1 IP address for as0t11: 5.5.11.1
IP address for as0t2: 5.5.2.1


When I check /etc/networking/interfaces it is empty.



root@ubuntu:~# ls -l /etc/openvpn
total 12
drwxr-xr-x 2 root root 4096 Mar 11 22:27 easy-rsa
-rw-r--r-- 1 root root 636 Dec 6 18:35 static.key
-rwxr-xr-x 1 root root 1357 Feb 26 2013 update-resolv-conf
root@ubuntu:~# dpkg -l | grep vpn
rc openvpn 2.2.1-8ubuntu1.2 virtual private network daemon
ii openvpn-as 1.8.4-Ubuntu10 openvpn-as









share|improve this question
















When starting up my server takes a long time. I already tried sudo apt-get remove openvpn but somewhere it's still trying to setup OpenVPN. When I connect to the server I get all these internal VPN addresses:



System load:          0.02                IP address for as0t3:  5.5.3.1
Usage of /: 13.5% of 212.98GB IP address for as0t4: 5.5.4.1
Memory usage: 4% IP address for as0t5: 5.5.5.1
Swap usage: 0% IP address for as0t6: 5.5.6.1
Processes: 164 IP address for as0t7: 5.5.7.1
Users logged in: 0 IP address for as0t8: 5.5.8.1
IP address for eth0: my_ip_here IP address for as0t9: 5.5.9.1
IP address for as0t0: 5.5.0.1 IP address for as0t10: 5.5.10.1
IP address for as0t1: 5.5.1.1 IP address for as0t11: 5.5.11.1
IP address for as0t2: 5.5.2.1


When I check /etc/networking/interfaces it is empty.



root@ubuntu:~# ls -l /etc/openvpn
total 12
drwxr-xr-x 2 root root 4096 Mar 11 22:27 easy-rsa
-rw-r--r-- 1 root root 636 Dec 6 18:35 static.key
-rwxr-xr-x 1 root root 1357 Feb 26 2013 update-resolv-conf
root@ubuntu:~# dpkg -l | grep vpn
rc openvpn 2.2.1-8ubuntu1.2 virtual private network daemon
ii openvpn-as 1.8.4-Ubuntu10 openvpn-as






12.04 networking server openvpn






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 28 '14 at 13:53









0xSheepdog

335215




335215










asked Apr 25 '14 at 21:24









gabeiogabeio

108117




108117













  • Post the output of dpkg -l | grep vpn and ls -l /etc/openvpn.

    – Eric Carvalho
    Apr 25 '14 at 22:40











  • @EricCarvalho I added them to the bottom of the question

    – gabeio
    Apr 28 '14 at 12:31






  • 3





    sudo apt-get purge openvpn*?

    – arsaKasra
    Apr 28 '14 at 14:53











  • @arsaKasra thanks that helped too!

    – gabeio
    Apr 28 '14 at 15:48



















  • Post the output of dpkg -l | grep vpn and ls -l /etc/openvpn.

    – Eric Carvalho
    Apr 25 '14 at 22:40











  • @EricCarvalho I added them to the bottom of the question

    – gabeio
    Apr 28 '14 at 12:31






  • 3





    sudo apt-get purge openvpn*?

    – arsaKasra
    Apr 28 '14 at 14:53











  • @arsaKasra thanks that helped too!

    – gabeio
    Apr 28 '14 at 15:48

















Post the output of dpkg -l | grep vpn and ls -l /etc/openvpn.

– Eric Carvalho
Apr 25 '14 at 22:40





Post the output of dpkg -l | grep vpn and ls -l /etc/openvpn.

– Eric Carvalho
Apr 25 '14 at 22:40













@EricCarvalho I added them to the bottom of the question

– gabeio
Apr 28 '14 at 12:31





@EricCarvalho I added them to the bottom of the question

– gabeio
Apr 28 '14 at 12:31




3




3





sudo apt-get purge openvpn*?

– arsaKasra
Apr 28 '14 at 14:53





sudo apt-get purge openvpn*?

– arsaKasra
Apr 28 '14 at 14:53













@arsaKasra thanks that helped too!

– gabeio
Apr 28 '14 at 15:48





@arsaKasra thanks that helped too!

– gabeio
Apr 28 '14 at 15:48










1 Answer
1






active

oldest

votes


















3














sudo update-rc.d -f openvpn  remove


Should remove OpenVPN service from startup.



But if you cannot find the init script that is starting the openvpn process you can simply remove or rename these .conf files under /etc/openvpn/ since they generate the VPN interface and routes.






share|improve this answer


























  • I don't have the package update-rc & apt-get install update-rc doesn't work.

    – gabeio
    Apr 28 '14 at 14:42








  • 1





    ah updated the command name, in the answer

    – tomodachi
    Apr 28 '14 at 14:48











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f455504%2fremoving-openvpn-and-all-modifications%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














sudo update-rc.d -f openvpn  remove


Should remove OpenVPN service from startup.



But if you cannot find the init script that is starting the openvpn process you can simply remove or rename these .conf files under /etc/openvpn/ since they generate the VPN interface and routes.






share|improve this answer


























  • I don't have the package update-rc & apt-get install update-rc doesn't work.

    – gabeio
    Apr 28 '14 at 14:42








  • 1





    ah updated the command name, in the answer

    – tomodachi
    Apr 28 '14 at 14:48
















3














sudo update-rc.d -f openvpn  remove


Should remove OpenVPN service from startup.



But if you cannot find the init script that is starting the openvpn process you can simply remove or rename these .conf files under /etc/openvpn/ since they generate the VPN interface and routes.






share|improve this answer


























  • I don't have the package update-rc & apt-get install update-rc doesn't work.

    – gabeio
    Apr 28 '14 at 14:42








  • 1





    ah updated the command name, in the answer

    – tomodachi
    Apr 28 '14 at 14:48














3












3








3







sudo update-rc.d -f openvpn  remove


Should remove OpenVPN service from startup.



But if you cannot find the init script that is starting the openvpn process you can simply remove or rename these .conf files under /etc/openvpn/ since they generate the VPN interface and routes.






share|improve this answer















sudo update-rc.d -f openvpn  remove


Should remove OpenVPN service from startup.



But if you cannot find the init script that is starting the openvpn process you can simply remove or rename these .conf files under /etc/openvpn/ since they generate the VPN interface and routes.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 16 at 16:40









pabouk

2,01411626




2,01411626










answered Apr 28 '14 at 12:39









tomodachitomodachi

9,07042240




9,07042240













  • I don't have the package update-rc & apt-get install update-rc doesn't work.

    – gabeio
    Apr 28 '14 at 14:42








  • 1





    ah updated the command name, in the answer

    – tomodachi
    Apr 28 '14 at 14:48



















  • I don't have the package update-rc & apt-get install update-rc doesn't work.

    – gabeio
    Apr 28 '14 at 14:42








  • 1





    ah updated the command name, in the answer

    – tomodachi
    Apr 28 '14 at 14:48

















I don't have the package update-rc & apt-get install update-rc doesn't work.

– gabeio
Apr 28 '14 at 14:42







I don't have the package update-rc & apt-get install update-rc doesn't work.

– gabeio
Apr 28 '14 at 14:42






1




1





ah updated the command name, in the answer

– tomodachi
Apr 28 '14 at 14:48





ah updated the command name, in the answer

– tomodachi
Apr 28 '14 at 14:48


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f455504%2fremoving-openvpn-and-all-modifications%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局