Cent OS
iptables 예시
wakira
2015. 12. 12. 04:07
[root@localhost ~]# iptables -A FORWARD -p tcp --dport 80 -j DROP
[root@localhost ~]# iptables --flush
[root@localhost ~]# iptables -A FORWARD -p tcp --dport 80 -j DROP
[root@localhost ~]# iptables --flush
[root@localhost ~]# iptables -A FORWARD -p tcp --dport 80 -j DROP
[root@localhost ~]# iptables --flush
[root@localhost ~]# iptables -A FORWARD -p tcp --dport 80 -j DROP
[root@localhost ~]# iptables --flush
[root@localhost ~]# iptables -A FORWARD -p tcp --dport 80 -j DROP
[root@localhost ~]# iptables --flush
[root@localhost ~]# iptables -A FORWARD -p tcp --dport 80 -j DROP
[root@localhost ~]# iptables --flush
[root@localhost ~]#