ufw

간단한 방화벽. 방화벽 구성을 더욱 쉽게 만들어주는 iptables의 프론트엔드. 더 많은 정보: https://wiki.ubuntu.com/UncomplicatedFirewall.

ufw enable

ufw disable

ufw status numbered

ufw allow {{5432}} comment "{{Service}}"

ufw allow proto {{tcp}} from {{192.168.0.4}} to {{any}} port {{22}}

ufw deny {{80}}

ufw deny proto {{udp}} from {{any}} to {{any}} port {{8412:8500}}

ufw delete {{규칙_번호}}