Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
the early evening committed Nov 14, 2018
1 parent b970fe7 commit e2907e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deployment/with-gateway-redirection.yml
Expand Up @@ -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"

0 comments on commit e2907e4

Please sign in to comment.