Firewalld

This is an old revision of the document!


Firewalld

Generic (Permanent) Port

firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --reload

SNMPD

Create Profile

vim /etc/firewalld/services/snmp.xml

<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>SNMP</short>
  <description>SNMP protocol</description>
  <port protocol="udp" port="161"/>
</service>

Add Rule

firewall-cmd --reload
firewall-cmd --zone=public --add-service snmp --permanent
firewall-cmd --reload

/home/www/sites/esgr.in/wiki/data/attic/systems/firewalld.1566643438.txt.gz · Last modified: 2019/08/24 10:43 by eServices Greece