iptables
1.Reject IP from 192.168.1.101 access to local port 80
2.Save iptable to a file
Restore from a file
3.NAT port 80 to 8080
SNAT
DNAT,
MASQUERADE (special instance of SNAT, when your IP is dynamic, need use NIC IP instead source IP)
Last updated