linux:firewalld_documentation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:firewalld_documentation [2022/03/01 14:01] – [Rules Management] dodger | linux:firewalld_documentation [2023/08/28 10:34] (current) – dodger | ||
---|---|---|---|
Line 65: | Line 65: | ||
export PERMANENT=" | export PERMANENT=" | ||
</ | </ | ||
+ | ===== Reload rules ===== | ||
+ | For example after using '' | ||
+ | <code bash> | ||
+ | firewall-cmd --reload | ||
+ | </ | ||
+ | |||
===== View information ===== | ===== View information ===== | ||
Line 70: | Line 76: | ||
<code bash> | <code bash> | ||
firewall-cmd --list-all | firewall-cmd --list-all | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== list zones ==== | ||
+ | <code bash> | ||
+ | firewall-cmd --get-zones | ||
</ | </ | ||
Line 140: | Line 152: | ||
+ | |||
+ | ====== Openvpn/ | ||
+ | As a client: | ||
+ | |||
+ | <code bash> | ||
+ | firewall-cmd ${PERMANENT} --zone=internal --add-interface=tun+ | ||
+ | firewall-cmd ${PERMANENT} --zone=internal --add-interface=wg+ | ||
+ | firewall-cmd ${PERMANENT} --zone=internal --add-interface=ppp+ | ||
+ | |||
+ | firewall-cmd ${PERMANENT} --list-all --zone=internal | ||
+ | |||
+ | </ |
linux/firewalld_documentation.txt · Last modified: 2023/08/28 10:34 by dodger