Skip to content

iptables job from networking/9

Github source: 373b61e or master branch

Properties

iptables

Map of rules per chain per table to apply in iptables

Default
{}
Example
nat:
  POSTROUTING:
  - -s 10.244.0.0/24 -j MASQUERADE

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/iptables/ directory (learn more).

  • bin/ctl (from bin/ctl)
  • bin/disable.sh (from bin/disable.sh)
  • bin/enable.sh (from bin/enable.sh)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.

This job relies on no runtime packages.