본문 바로가기

Linux

[IPTABLES] 53번 포트 OUT바운드 포트 차단

-A OUTPUT -p tcp -m state --state NEW -m tcp --dport 53 -m comment --comment 'name' -j DROP
-A OUTPUT -p udp -m state --state NEW -m udp --dport 53 -m comment --comment 'name' -j DROP