Proper iptables config properties

per https://bosh.io/jobs/iptables?source=github.com/cloudfoundry/networking-release&version=9 , the `networking-release/iptables` job requires the `iptables` property, rather than the `nat` property directly. You can see this working when you do `iptables -t nat --list` on the subject VM.
This commit is contained in:
the early evening 2018-11-14 13:48:58 -08:00 committed by GitHub
parent b970fe7015
commit e2907e4291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -11,9 +11,10 @@
name: iptables
release: networking
properties:
nat:
POSTROUTING:
- -s ((vpn_network))/((vpn_network_mask_bits)) -d 0/0 -j MASQUERADE
iptables:
nat:
POSTROUTING:
- -s ((vpn_network))/((vpn_network_mask_bits)) -d 0/0 -j MASQUERADE
- path: /instance_groups/name=openvpn/jobs/name=openvpn/properties/extra_configs?/-
type: replace
value: push "redirect-gateway def1"