centos8 firewall nat 세팅 (추가/삭제) 스크립트
#!/bin/bash firewall-cmd --zone=external --list-all | grep -e toaddr case $1 in 1) echo "#######################" echo "=== Firewall nat add Set ===" echo "#######################" read -p "Please input export port num: " port read -p "Please input proto(tcp/udp): " proto read -p "Please input inner toport num: " toport read -p "Please input toaddr(private ip addr): " toaddr firewall-cmd --perma..