dayeah

iptables端口转发一键脚本

时间:2021-12-08   阅读:1023

装先安装

yum install iptables-services


#关闭CentOS7的防火墙

systemctl stop firewalld.service

systemctl disable firewalld.service


再安装

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/iptables-pf.sh && chmod +x iptables-pf.sh && bash iptables-pf.sh

(文件备份http://ys-f.ys168.com/293178534/014476906/t56246N45I3PGGiuVJg90e/iptables-pf.sh)

运行./iptables-pf.sh

先4添加远程IP和端口等

如有宝塔放行端口


上一篇:vanced安卓无需骨歌框架可看无广告youtube有pc版

下一篇:乘风去广告规则

网友评论