Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> OS >> Unix >> Linux >> RHEL >> Examples commands to update firewall rules in RHEL

Example, to enable TCP port 514

RHEL 7

# firewall-cmd --permanent --add-port 514/tcp firewall-cmd --reload

 

CentOS 6 and RHEL 6

# iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 514 -j ACCEPT service iptables save

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]