Skip to content

Commit

Permalink
changing Default GW
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgebonilla committed Jul 3, 2018
1 parent 96f8404 commit 0061bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [[ -z "$VPN_MY_ADDR" ]]; then
fi

if [[ -z "$VPN_MY_NEW_GATEWAY" ]]; then
VPN_MY_NEW_GATEWAY_ADDR="${VPN_MY_NETWORKS%.*/*}.254"
VPN_MY_NEW_GATEWAY_ADDR="${VPN_MY_NETWORKS%.*/*}.1"
VPN_MY_NEW_GATEWAY_MASK="${VPN_MY_NETWORKS#*/}"
VPN_MY_NEW_GATEWAY="${VPN_MY_NEW_GATEWAY_ADDR}/${VPN_MY_NEW_GATEWAY_MASK}"
fi
Expand Down

0 comments on commit 0061bea

Please sign in to comment.