NATConfigGenerator-iptables

基于iptables的NAT转发规则配置脚本

View project on GitHub

NATConfigGenerator-iptables

NAT转发服务器,流量中转,基于iptables,效率高

运行方式(CentOS7):

yum install -y wget gcc && wget https://cdn.jsdelivr.net/gh/HXHGTS/NATConfigGenerator-iptables/NATConfigGenerator-iptables.c -O NATConfigGenerator-iptables.c && gcc -o NATConfigGenerator-iptables NATConfigGenerator-iptables.c && chmod +x NATConfigGenerator-iptables && ./NATConfigGenerator-iptables

如需基于firewalld转发请使用这个