Quick Contact

Puppet XGlobe ufw

Puppet XGlobe module  XGlobe_ufw

 

Module for configuring UFW (Uncomplicated Firewall).

Tested on Ubuntu 12.4 LTS

 

Usage:

If you include the ufw class the package will be installed, the service will be enabled, and all incoming connections will be allowed until you say otherwise:

include xglobe_ufw
   

Allow to ANY:

xglobe_ufw::xglobe_ufw_allow { "office": from => "34.54.12.45",}

 

Deny port:

xglobe_ufw::xglobe_ufw_deny { "deny-port-2322":
  port=>"2322",
}

 

Flush all rules:

xglobe_ufw::xglobe_ufw_flush
 

Inside the module we  manage XGlobe_mng xglobe_ufw_trust.pp

Pay extra attention to this file since this will affect all XGlobe customers nodes using the module.

 

Additional Articles
X

Partners

© 2013 XGlobe Online Ltd.