Skip to content

Commit

Permalink
-- add icmp to masquerade rules
Browse files Browse the repository at this point in the history
  • Loading branch information
SchwarzM authored and databus23 committed Dec 11, 2017
1 parent ba5e5e6 commit c97fcc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/templates/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ storage:
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -p tcp ! -d {{ .ClusterCIDR }} -m addrtype ! --dst-type LOCAL -j MASQUERADE --to-ports 32000-65000
-A POSTROUTING -p udp ! -d {{ .ClusterCIDR }} -m addrtype ! --dst-type LOCAL -j MASQUERADE --to-ports 32000-65000
-A POSTROUTING -p icmp ! -d {{ .ClusterCIDR }} -m addrtype ! --dst-type LOCAL -j MASQUERADE
COMMIT
- path: /etc/sysctl.d/10-enable-icmp-redirects
Expand Down

0 comments on commit c97fcc3

Please sign in to comment.