Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

open firewall port in linux

Debian: 

sudo ufw allow PORT. 

CentOS: 

sudo firewall-cmd --zone=public --permanent --add-port=PORT/tcp 
sudo firewall-cmd --reload
 
PREVIOUS NEXT
Tagged: #open #firewall #port #linux
ADD COMMENT
Topic
Name
6+2 =