Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

iptables linux 80 and 443 open

sudo iptables -I INPUT -p tcp -m tcp --dport 80 -j ACCEPT
sudo iptables -I INPUT -p tcp -m tcp --dport 443 -j ACCEPT
 
PREVIOUS NEXT
Tagged: #iptables #linux #open
ADD COMMENT
Topic
Name
3+5 =