"리눅스 lokkit"의 두 판 사이의 차이

잔글 (Jmnote 사용자가 /usr/sbin/lokkit 문서를 리눅스 lokkit 문서로 옮겼습니다)
잔글 (봇: 자동으로 텍스트 교체 (-==참고 자료== +==참고==))
 
(사용자 2명의 중간 판 2개는 보이지 않습니다)
51번째 줄: 51번째 줄:


==방화벽 끄기==
==방화벽 끄기==
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# iptables -L
[root@zetawiki ~]# iptables -L
Chain INPUT (policy ACCEPT)
Chain INPUT (policy ACCEPT)
68번째 줄: 68번째 줄:
target    prot opt source              destination  
target    prot opt source              destination  
</source>         
</source>         
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# lokkit --selinux=disabled --disabled
[root@zetawiki ~]# lokkit --selinux=disabled --disabled
[root@zetawiki ~]# iptables -L
[root@zetawiki ~]# iptables -L
86번째 줄: 86번째 줄:
*[[setup]]
*[[setup]]


==참고 자료==
==참고==
*http://www.fis.unipr.it/pub/linux/redhat/9++/en/doc/RH-DOCS/rhl-cg-ko-9/s1-basic-firewall-gnomelokkit.html
*http://www.fis.unipr.it/pub/linux/redhat/9++/en/doc/RH-DOCS/rhl-cg-ko-9/s1-basic-firewall-gnomelokkit.html
*[ERROR: FirewallD is active, please use firewall-cmd 오류 발생 시]http://smarthink.co.kr/bbs/board.php?bo_table=Linux_edu&wr_id=21


[[분류: /usr/sbin]]
[[분류: /usr/sbin]]

2017년 7월 11일 (화) 03:52 기준 최신판

1 개요[ | ]

lokkit
/usr/sbin/lokkit
  • 리눅스 방화벽 설정 도구
┌-----------┤ Firewall Configuration ├-----------┐   
│                                                  │                             
│ A firewall protects against unauthorized         │                             
│ network intrusions. Enabling a firewall blocks   │                             
│ all incoming connections. Disabling a firewall   │                             
│ allows all connections and is not recommended.   │                             
│                                                  │                             
│    Security Level: ( ) Enabled (*) Disabled      │                             
│                                                  │                             
│               SELinux: Enforcing                 │                             
│                        Permissive                │                             
│                        Disabled                  │                             
│                                                  │                             
│   ┌----┐     ┌-----------┐    ┌--------┐   │
│   │ OK │     │ Customize │    │ Cancel │   │                       
│   └----┘     └-----------┘    └--------┘   │                               
│                                                  │                             
│                                                  │                             
└--------------------------------------------------┘
┌----------------┤ Firewall Configuration - Customize ├----------------┐  
│                                                                        │ 
│ You can customize your firewall in two ways. First, you can select     │                  
│ to allow all traffic from certain network interfaces. Second, you      │                  
│ can allow certain protocols explicitly through the firewall. Specify   │                  
│ additional ports in the form 'service:protocol', such as 'imap:tcp'.   │                  
│                                                                        │                  
│ Trusted Devices:    [ ] eth0                                           │                  
│                                                                        │                  
│ MASQUERADE Devices: [ ] eth0                                           │                  
│                                                                        │                  
│                     [ ] SSH                [ ] Telnet [ ] FTP          │                  
│ Allow incoming:     [ ] WWW (HTTP)         [ ] Samba  [ ] Mail (SMTP)  │                  
│                     [ ] Secure WWW (HTTPS) [ ] NFS4                    │                  
│                     Other ports _________________________              │ 
│		                                                          │
│                                 ┌----┐                               │
│                                 │ OK │                               │                
│                                 └----┘                               │            
│                                                                        │ 
│                                                                        │                  
└------------------------------------------------------------------------┘

2 방화벽 끄기[ | ]

[root@zetawiki ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
ACCEPT     icmp --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh 
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited 

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited 

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
[root@zetawiki ~]# lokkit --selinux=disabled --disabled
[root@zetawiki ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}