Masquerade is enabled on the zone.
For adding Masquerade on Zone, below command can be used., replace external with zone name where masquerade has to be enabled.
# firewall-cmd --zone=external --add-masquerade
For Disabling Masquerade below command can be used
# firewall-cmd --zone=external —remove-masquerade -permanent
For Checking is Masquerade is enabled, below command can be used.
# firewall-cmd --zone=external --query-masquerade
No comments:
Post a Comment