우분투 방화벽 ufw

(Ufw에서 넘어옴)

1 개요[편집]

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

270px-Gufw_10.04.4.png

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 참고[편집]

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