Skip to content

Commit

Permalink
[CE-173] Fix the ip forwarding issue
Browse files Browse the repository at this point in the history
newer docker version stops iptable forwarding so that
traffic from outside the host machine can not pass through
this creates problems when we need to allow the traffic.
this patch set will fix that problem.

Change-Id: Ib39ea2aa848c826765d1e7835272718054f7ab15
Signed-off-by: tongliofcary <litong01@us.ibm.com>
  • Loading branch information
tongliofcary committed Nov 29, 2017
1 parent 4f65ce5 commit 1eafd52
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
dest: "/lib/systemd/system/flanneld.service"
mode: 0644

- name: Change IP Forwarding
command: iptables -P FORWARD ACCEPT

- name: Reload services
command: systemctl daemon-reload

Expand Down

0 comments on commit 1eafd52

Please sign in to comment.