Skip to content

Commit

Permalink
Try to set ip_forward
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed May 22, 2019
1 parent e13fa86 commit 824f44a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entry
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ set -e -x

trap exit TERM INT

echo 1 > /proc/sys/net/ipv4/ip_forward || true

if [ `cat /proc/sys/net/ipv4/ip_forward` != 1 ]; then
exit 1
fi
Expand Down

0 comments on commit 824f44a

Please sign in to comment.