On new rhel7 virthosts allow forwarding.

This commit is contained in:
Kevin Fenzi 2014-06-24 18:09:58 +00:00
parent b108e4f631
commit 92e0239c16
3 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,2 @@
---
virthost: true

View file

@ -0,0 +1,2 @@
---
virthost: true

View file

@ -54,5 +54,9 @@
# otherwise kick everything out
-A INPUT -j REJECT --reject-with icmp-host-prohibited
{% if virthost is defined %}
-A FORWARD -j ACCEPT
{% else %}
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
{% endif %}
COMMIT