diff --git a/scripts/start-vpn.sh b/scripts/start-vpn.sh index 1abcb95..2d16469 100755 --- a/scripts/start-vpn.sh +++ b/scripts/start-vpn.sh @@ -7,7 +7,7 @@ openssl verify -verbose -CAfile ${VPNCAFILE} ${VPNCERTFILE} CONF="${SERVERCONF:-$TCPCONF}" VPN_PORT=`grep "^port " $CONF | sed -e "s/[^0-9]*//g"` -envsubst < /etc/iptables/rules.v4 | iptables-restore +envsubst < $TEMPLATESDIR/openvpn/rules.v4.template | iptables-restore echo "Starting with config ${CONF} ..." exec openvpn --config ${CONF}