글 작성자: 마노링
반응형

IPTABLES 1,2번 실습문제

Chain INPUT (policy DROP)
num  target     prot opt source               destination
1    LOG        tcp  --  anywhere             anywhere            multiport dports ftp,telnet,http LOG level warning prefix `not permit access'
2    ACCEPT     tcp  --  192.168.182.1        anywhere            multiport dports ssh,telnet,http
3    DROP       all  -- !192.168.182.1        anywhere

Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination

3번 실습문제
Chain INPUT (policy DROP)
num  target     prot opt source               destination
1    ACCEPT     tcp  --  192.168.182.20        anywhere            multiport dports ftp,telnet
2    ACCEPT     tcp  --  192.168.182.1        anywhere            http

Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination

4번 실습문제
Chain INPUT (policy DROP)
num  target     prot opt source               destination
1    ACCEPT     tcp  --  192.168.182.20        anywhere          tcp dpt:ssh
2    ACCEPT     tcp  --  192.168.182.1        anywhere            tcp dpt:telnet

Chain FORWARD (policy DROP)
num  target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination

5번 실습문제
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination
1       DROP     icmp  --  !192.168.182.20        anywhere          icmp echo-request

Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination
1       DROP     icmp  --  !192.168.182.20        anywhere          icmp echo-reply

 

반응형

'공부(工夫) > LINUX' 카테고리의 다른 글

qmail 스크립트  (0) 2010.01.10
AIDE 실습  (0) 2009.03.24
SSH 암호모드 테스트  (0) 2009.03.24
Linux2  (0) 2009.03.12
Linux2 1강 수업내용  (0) 2009.03.09
Linux1 1강 수업내용  (0) 2009.02.05