Merge "Remove hardcoded libvirt default network iptalbes rules"

This commit is contained in:
Jenkins 2017-05-24 01:20:22 +00:00 committed by Gerrit Code Review
commit f50ecef245
2 changed files with 0 additions and 6 deletions

View File

@ -966,10 +966,6 @@ tripleo::firewall::firewall_rules:
'140 network cidr nat':
chain: FORWARD
destination: {{NETWORK_CIDR}}
# TODO: Do we still want this?
'141 libvirt network nat':
chain: FORWARD
destination: 192.168.122.0/24
'142 tripleo-ui':
dport:
- 3000

View File

@ -7,8 +7,6 @@ iptables -w -t nat -N BOOTSTACK_MASQ_NEW
# Build the chain we want.
{{#masquerade_networks}}
NETWORK={{.}}
# Workaround iptables not permitting two -d parameters in one call.
iptables -w -t nat -A BOOTSTACK_MASQ_NEW -s $NETWORK -d 192.168.122.1 -j RETURN
iptables -w -t nat -A BOOTSTACK_MASQ_NEW -s $NETWORK ! -d $NETWORK -j MASQUERADE
{{/masquerade_networks}}
# Link it in.