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    2018-11-23 17:07:33    180    0    0

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

  1. bash /root/bindip.sh​

2.绑定ip地址

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

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