iptables Basic Commands
1 2 3 |
sudo iptables -L |
1 2 3 4 |
sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT |
1 2 3 |
sudo iptables -L |
1 2 3 4 |
sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT |
Ubuntu 는 앞에 sudo 입력 설치: apt-get -y install ufw 활성화 : ufw enable 비활성화: ufw disable 전부막음: ufw default deny 전부허용: ufw default allow […]
Copyright © 2024 | WordPress Theme by MH Themes