systemctl stop firewalld
systemctl mask firewalld
iptables-service
패키지 설치yum install iptables-service
systemctl [stop|start|restart] iptables
80
→ 8080
)iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
service iptables save
또는
/usr/libexec/iptables/iptables.init save
service iptables reload
📖 참고