1:apt-get install net-tools  (安装网络工具包)

2:ifconfig -a  (查看本机公网IP地址)

3:route -n   (查看网关地址)

4:用萌新的DD包和脚本,举例的是Debian9:bash <(wget –no-check-certificate -qO- ‘https://moeclub.org/attachment/LinuxShell/InstallNET.sh’) -d 9 -v 64 -a –ip-addr 194.87.xxx.xxx(改成ifconfig获取到的) –ip-gate 194.87.xxx.xxx(改成route获取到的) –ip-mask 255.255.xxx.xxx(改成你获取到的)

说点什么
支持Markdown语法
在"ruvds鸡鸡DD脚本"已有2条评论
Loading...