Skip to content

Commit

Permalink
provisioner nat setup for workers
Browse files Browse the repository at this point in the history
  • Loading branch information
Cbkhare committed Jan 4, 2021
1 parent b9eec44 commit 50a27e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ whats_next() (
)

setup_nat() (
iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
iptables -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
)
Expand Down

0 comments on commit 50a27e0

Please sign in to comment.