We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to set masquerade in zone using this module, I've not found any informatiom about that.
Example:
/usr/bin/firewall-cmd --permanent --zone=public --add-masquerade
As a workaround I'm doing this:
exec { 'firewalld_add_masquerade_public': command => '/usr/bin/firewall-cmd --permanent --zone=public --add-masquerade', unless => '/usr/bin/grep masquerade /etc/firewalld/zones/public.xml > /dev/null', }
I need this to build a NAT Gateway. I'm using CentOS 7.3
The text was updated successfully, but these errors were encountered:
This isn't currently supported - it's a fairly easy addition to the firewalld_zone resource type, will get this added
Sorry, something went wrong.
Added masquerade option to firewalld_zone type
0e4bde3
Closes #129
No branches or pull requests
Is it possible to set masquerade in zone using this module, I've not found any informatiom about that.
Example:
/usr/bin/firewall-cmd --permanent --zone=public --add-masquerade
As a workaround I'm doing this:
exec { 'firewalld_add_masquerade_public':
command => '/usr/bin/firewall-cmd --permanent --zone=public --add-masquerade',
unless => '/usr/bin/grep masquerade /etc/firewalld/zones/public.xml > /dev/null',
}
I need this to build a NAT Gateway.
I'm using CentOS 7.3
The text was updated successfully, but these errors were encountered: