iptables 설정
iptables 이용해서 방화벽 설정하는 방법을
아시는 분 있으면 이야기 좀 해주세요~~
자세히 나와있는 자료가 있으면 더 좋군요..
현재 Redhat 9.0 을 사용하고 있습니다.
GUI 툴로 있는 것으로 알고 있는데, 자료를 찾기가 어렵네요.
현재는 초시 설치시 방화벽을 다 설정한 상태로 되어있습니다.
(아래 참조)
현재 하고 싶은 일은 CVS (통신포트 2401) 입니다.
고수님들 한 수 부탁드립니다. ㅎ ㅎ
root@Ddk root]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:telnet
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
댓글 달기