iptables 설정입니다. 고수님들의 조언을 부탁드립니다. (_ _)_
AMD2800:/var/lib/portsentry]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere
DROP tcp -- anywhere anywhere tcp
DROP udp -- anywhere anywhere udp
DROP all -- 211.199.53.92 anywhere
DROP all -- 59-117-164-243.dynamic.hinet.net anywhere
DROP all -- ALyon-152-1-14-70.w83-197.abo.wanadoo.fr anywhere
DROP all -- 61.75.224.167 anywhere
DROP all -- 58.142.223.25 anywhere
DROP all -- 59-115-17-241.dynamic.hinet.net anywhere
DROP all -- 61-229-231-151.dynamic.hinet.net anywhere
DROP all -- a81-14-146-248.net-htp.de anywhere
DROP all -- dsl-145-56-129.telkomadsl.co.za anywhere
DROP all -- vir91-2-82-236-100-175.fbx.proxad.net anywhere
DROP all -- p549F1DC0.dip0.t-ipconnect.de anywhere
DROP all -- e182076003.adsl.alicedsl.de anywhere
DROP all -- 61-229-247-250.dynamic.hinet.net anywhere
DROP all -- 61-228-9-54.dynamic.hinet.net anywhere
DROP all -- t54fc4167.pool.terralink.de anywhere
DROP all -- 219.249.172.112 anywhere
DROP all -- 61-230-217-84.dynamic.hinet.net anywhere
DROP all -- 59-112-194-105.dynamic.hinet.net anywhere
DROP all -- cpe-24-193-123-6.nj.res.rr.com anywhere
DROP all -- 61-229-67-177.dynamic.hinet.net anywhere
DROP all -- 211.222.119.217 anywhere
DROP all -- 220-132-242-142.HINET-IP.hinet.net anywhere
DROP all -- 61-216-24-250.dynamic.hinet.net anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
----
지금 이렇게 되어 있습니다.
아래에 따로 명시가 된 건 portsentry가 추가시킨 부분입니다. 공유기가 이 시스템 위에 연결되어 있고 4662 포트만
포워딩하게 되었습니다. (암호는 까먹어서 수정이 불가능한 상황입니다.... ㅡㅡ;;) INPUT만 되어 있는 형편인데
OUTPUT 쪽도 어떻게 집어넣어줘야 하지 않을까요? 또 나중에 공유기 아래에서 내부 전용 삼바나 ssh, ftp 등을
이용한다면 그냥 지금처럼 공유기에서 차단하고 있으면 충분할까요? 혹시 공유기 너머로 이러한 서비스들이
노출되지 않게 하려면 어떤 식으로 설정을 해주면 좋을까요?
댓글 달기