mirror of
https://github.com/ilteoood/docker-surfshark.git
synced 2025-12-27 07:11:33 +01:00
Merge pull request #77 from malua/master
Surfshark changed ovpn names again
This commit is contained in:
@@ -6,7 +6,7 @@ if [ -z "${OVPN_CONFIGS}" ]; then
|
||||
fi
|
||||
unzip "${OVPN_CONFIGS}" -d ovpn_configs
|
||||
cd ovpn_configs
|
||||
VPN_FILE=$(ls *_"${SURFSHARK_COUNTRY}"* | grep "${SURFSHARK_CITY}" | grep "${CONNECTION_TYPE}" | shuf | head -n 1)
|
||||
VPN_FILE=$(ls *"${SURFSHARK_COUNTRY}"-* | grep "${SURFSHARK_CITY}" | grep "${CONNECTION_TYPE}" | shuf | head -n 1)
|
||||
echo Chose: ${VPN_FILE}
|
||||
printf "${SURFSHARK_USER}\n${SURFSHARK_PASSWORD}" > vpn-auth.txt
|
||||
|
||||
@@ -46,4 +46,4 @@ if [ "${ENABLE_KILL_SWITCH}" = "true" ]; then
|
||||
ufw default deny outgoing
|
||||
ufw allow out on tun0 from any to any
|
||||
ufw enable
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user