FLYNNLABAboutMeCodingActivityStudy 2024초등수학
firewall in ubuntu
2015-05-08
ubuntu, 방화벽, firewall

ubuntu server 에서 방화벽 관리하는 방법

방화벽 추가

sudo ufw allow 22/tcp
sudo ufw allow 80/tcp

방화벽 삭제

sudo ufw delete <rule type> from <ip address> to any port <port number>
--> sudo ufw delete deny from 121.121.121.121
--> sudo ufw delete allow 80/tcp
--> sudo ufw delete deny from 121.121.121.121 to port 22

방화벽 활성화/비활성화

sudo ufw enable
sudo ufw disable

참고링크

http://www.ubuntu.or.kr/viewtopic.php?p=34141