iptables 예시

Cent OS 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 ~]# 

'Cent OS' 카테고리의 다른 글

Cent OS 7 네트워크 설정  (0) 2015.12.10
브릿지 설정  (0) 2014.11.12
vsftpd 포트변경  (0) 2014.10.26
SAMBA 설정  (0) 2014.10.21
CentOs 시간 및 지역설정  (0) 2014.09.23
Posted by wakira
,