"우분투 방화벽 ufw"의 두 판 사이의 차이

 
(사용자 2명의 중간 판 6개는 보이지 않습니다)
3번째 줄: 3번째 줄:
;/usr/sbin/ufw
;/usr/sbin/ufw
*[[넷필터]] 방화벽 관리 프로그램
*[[넷필터]] 방화벽 관리 프로그램
https://upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Gufw_10.04.4.png/270px-Gufw_10.04.4.png


==주요 명령어==
==주요 명령어==
;상태 확인
;상태 확인
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# ufw status
root@zetawiki:~# ufw status
Status: inactive
Status: inactive
12번째 줄: 14번째 줄:


;활성화
;활성화
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# ufw enable
root@zetawiki:~# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)?  
Command may disrupt existing ssh connections. Proceed with operation (y|n)?  
19번째 줄: 21번째 줄:


;비활성화
;비활성화
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# ufw disable
root@zetawiki:~# ufw disable
Firewall stopped and disabled on system startup
Firewall stopped and disabled on system startup
</source>
</source>
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# ufw status
root@zetawiki:~# ufw status
Status: inactive
Status: inactive
</source>
==기본 설정==
<source lang='bash'>
ufw allow ssh/tcp
ufw logging on
ufw enable
ufw status
</source>
<source lang='console'>
root@zetawiki:~# ufw allow 22/tcp
Rules updated
Rules updated (v6)
</source>
<source lang='console'>
root@zetawiki:~# ufw logging on
Logging enabled
</source>
<source lang='console'>
root@zetawiki:~# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
</source>
<source lang='console'>
root@zetawiki:~# ufw status
Status: active
To                        Action      From
--                        ------      ----
22/tcp                    ALLOW      Anywhere
22/tcp (v6)                ALLOW      Anywhere (v6)
</source>
</source>


==같이 보기==
==같이 보기==
*[[방화벽]]
* [[iptables]]
* [[방화벽]]


==참고 자료==
==참고==
*http://webdir.tistory.com/206
*http://webdir.tistory.com/206
*https://wiki.ubuntu.com/UncomplicatedFirewall
*https://wiki.ubuntu.com/UncomplicatedFirewall


[[분류: Ubuntu]]
[[분류: Ubuntu]]
[[분류: ufw]]
[[분류: 방화벽]]
[[분류: 방화벽]]
[[분류: /usr/sbin]]
[[분류: /usr/sbin]]

2018년 4월 9일 (월) 23:57 기준 최신판

1 개요[ | ]

우분투 ufw[1]
/usr/sbin/ufw

 

2 주요 명령어[ | ]

상태 확인
root@zetawiki:~# ufw status
Status: inactive
활성화
root@zetawiki:~# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)?


비활성화
root@zetawiki:~# ufw disable
Firewall stopped and disabled on system startup
root@zetawiki:~# ufw status
Status: inactive

3 기본 설정[ | ]

ufw allow ssh/tcp
ufw logging on
ufw enable
ufw status
root@zetawiki:~# ufw allow 22/tcp
Rules updated
Rules updated (v6)
root@zetawiki:~# ufw logging on
Logging enabled
root@zetawiki:~# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
root@zetawiki:~# ufw status
Status: active

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere
22/tcp (v6)                ALLOW       Anywhere (v6)

4 같이 보기[ | ]

5 참고[ | ]

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