启动我的服务器需要很长时间。我已经尝试过,sudo apt-get remove openvpn
但它仍在尝试设置 OpenVPN。当我连接到服务器时,我获得了所有这些内部 VPN 地址:
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
当我检查时/etc/networking/interfaces
它是空的。
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
答案1
sudo systemctl disable openvpn --now # on modern distros with systemd
将从启动中删除 OpenVPN 服务并停止它
但是如果您找不到启动该openvpn
过程的初始化脚本,您可以简单地删除或重命名这些.conf
文件,/etc/openvpn/
因为它们会生成 VPN 接口和路由。