firewalld notes
This commit is contained in:
@@ -15,6 +15,9 @@ firewall-cmd --set-default-zone=drop
|
|||||||
# Set zone for a specific subnet
|
# Set zone for a specific subnet
|
||||||
firewall-cmd --permanent --zone=drop --add-source=10.244.0.0/16
|
firewall-cmd --permanent --zone=drop --add-source=10.244.0.0/16
|
||||||
|
|
||||||
|
# Set zone for specific interface
|
||||||
|
firewall-cmd --zone=drop --change-interface=
|
||||||
|
|
||||||
# Get info about service
|
# Get info about service
|
||||||
firewall-cmd --info-service=samba
|
firewall-cmd --info-service=samba
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user