Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
systems:firewalld [2019/08/24 10:43] eServices Greece |
systems:firewalld [2020/04/13 06:41] (current) eServices Greece |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== SNMPD ===== | ===== SNMPD ===== | ||
- | ==== Create Profile | + | === Create Profile === |
<sxh bash> | <sxh bash> | ||
vim / | vim / | ||
Line 21: | Line 21: | ||
</ | </ | ||
- | ==== Add Rule ==== | + | === Add Rule === |
- | < | + | < |
firewall-cmd --zone=public --add-service snmp --permanent | firewall-cmd --zone=public --add-service snmp --permanent | ||
firewall-cmd --reload</ | firewall-cmd --reload</ | ||
+ | |||
+ | ===== Cockpit ===== | ||
+ | <sxh bash> | ||
+ | firewall-cmd --add-service=cockpit --permanent</ | ||
+ | |||
+ | ===== Allow traffic through bridge ===== | ||
+ | < | ||
+ | firewall-cmd --permanent --direct --passthrough ipv4 -I FORWARD -o vbr0 -j ACCEPT | ||
+ | firewall-cmd --reload</ | ||
+ | |||
+ | ===== http/s ===== | ||
+ | === By Service name === | ||
+ | < | ||
+ | firewall-cmd --zone=public --permanent --add-service=https | ||
+ | firewall-cmd --reload</ | ||
+ | |||
+ | === By Port === | ||
+ | <sxh> | ||
+ | firewall-cmd --permanent --add-port=80/ | ||
+ | firewall-cmd --permanent --add-port=443/ | ||
+ | firewall-cmd --reload</ |