A script for forwarding by iptables[DDNS support] 基于iptables的端口转发脚本
支持Centos7+/Debian/Ubuntu
支持DDNS转发和静态IP转发,且重启后不会丢失规则
目前不支持端口段转发
目前尚在测试中,有BUG欢迎发issue
使用方式:
wget -N --no-check-certificate https://raw.githubusercontent.com/MstKenway/iptables-man/master/iptables-man.sh && chmod +x iptables-man.sh&&./iptables-man.sh
或者
curl -O https://raw.githubusercontent.com/MstKenway/iptables-man/master/iptables-man.sh && chmod +x iptables-man.sh&&./iptables-man.sh