Merge "Accept all packets from HIMN"

This commit is contained in:
Jenkins 2016-05-04 15:38:26 +00:00 committed by Gerrit Code Review
commit ce24cf3ba7
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ def forward_from_himn(eth):
'-i', eth, '-o', endpoint_name,
'-j', 'ACCEPT')
execute('iptables', '-A', 'INPUT', '-i', eth, '-j', 'ACCEPT')
execute('iptables', '-t', 'filter', '-S', 'FORWARD')
execute('iptables', '-t', 'nat', '-S', 'POSTROUTING')
execute('service', 'iptables-persistent', 'save')