우분투 방화벽 ubuntu firewall(ufw) 사용법
by 개발자
2024-04-07 20:35:34
조회수:413
UFW (ubuntu firewall)-우분투 방화벽
- status #sudo ufw status verbose
- enable/disable #sudo ufw enable #sudo ufw disable
- show rules #sudo ufw show raw
- allow port #sudo ufw allow 8080
- tcp/udp #sudo ufw allow 8080/tcp. #sudo ufw allow 8080/udp
- deny port #sudo ufw deny 22
- delete rule #sudo ufw delete deny 8080/tcp
- allow/deny ssh #sudo ufw allow ssh #sudo ufw deny ssh
- specific ip #sudo ufw allow from 192.168.10.11
- ip/protocol. #sudo ufw allow from 192.168.10.11 to any port 22