By accessing the website and accepting the Cookie Policy, you agree to use the cookies provided by the Site in accordance with to analyze traffic, remember your preferences, and optimize your experience.

标签 - ip

虚拟网 ip    2018-11-23 17:07:33    174    0    0

1.首先,在/etc/rc.local文件中加入

bash /root/bindip.sh​

2.绑定ip地址

写入绑定ip/root/bindip.sh文件

cat > /root/bindip.sh <<EOF
#!/bin/sh
 
# delay 5 sec.
sleep 5
sudo nohup ip rule add from 192.168.1