Apply iptables from foreman GUI

How can i assign some iptables for client machines from FOREMAN graphical
interface, Any guide will be appreciated

> How can i assign some iptables for client machines from FOREMAN graphical
> interface, Any guide will be appreciated

Not directly, but you can use Puppet for that.

··· -- Later, Lukas #lzap Zapletal

Just to confirm, i have installed puppetlabs/firewall module and imported
in Foreman. Going to the firewall class page, there are only few smart
class parameters are available. So how do i configure the iptables rules?
This cannot be done in foreman?

No, not directly. Put "firewall" resources in your own class and then
add this to hosts via Foreman. If you have configurable rules then add
parameters to your class to control the behaviour from Foreman.

http://projects.theforeman.org/projects/foreman/wiki/Instantiate_Puppet_resources
has more general guidance.

··· On 14/12/16 08:12, Anandharaj Subramaniam wrote: > > > Just to confirm, i have installed puppetlabs/firewall module and > imported in Foreman. Going to the firewall class page, there are only > few smart class parameters are available. So how do i configure the > iptables rules? This cannot be done in foreman?


Dominic Cleal
dominic@cleal.org