一个逗比写的各种逗比脚本~
https://gitee.com/wbqss/doubi
https://github.com/ToyoDAdoubi/doubi
https://github.com/yangyzp/doubi


  • 1.先查看nat服务器的内网和外网(公网)IP

3.png

  • 2.通过公网ip,ssh连接nat服务器。安装

    wget -N --no-check-certificate https://raw.githubusercontent.com/yangyzp/doubi/master/iptables-pf.sh && chmod +x iptables-pf.sh && bash iptables-pf.sh
  • 3.先安装 iptables

2.png

  • 4.再添加 iptables 端口转发

3.png

  • 5.按图中提示配置转发

2.png

  • 6.最后选择 iptables 转发类型——TCP+UDP

doubi原文使用说明:https://doubibackup.com/mbofzp9h-2.html
最后修改:2019 年 11 月 03 日
如果觉得我的文章对你有用,请随意赞赏