우분투 방화벽 ufw

(우분투 ufw에서 넘어옴)

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 }}