1 개요[ | ]
- lokkit
- /usr/sbin/lokkit
- 리눅스 방화벽 설정 도구
text
Copy
┌-----------┤ 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 │ │
│ └----┘ └-----------┘ └--------┘ │
│ │
│ │
└--------------------------------------------------┘
text
Copy
┌----------------┤ 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 방화벽 끄기[ | ]
Console
Copy
[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
Console
Copy
[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 참고[ | ]
- 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
편집자 Jmnote Jmnote bot 122.40.36.158
로그인하시면 댓글을 쓸 수 있습니다.