mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-30 21:47:37 +01:00 
			
		
		
		
	| @@ -627,9 +627,9 @@ function installOpenVPN() { | ||||
|  | ||||
| 		# Behind NAT, we'll default to the publicly reachable IPv4/IPv6. | ||||
| 		if [[ $IPV6_SUPPORT == "y" ]]; then | ||||
| 			PUBLIC_IP=$(curl https://ifconfig.co) | ||||
| 			PUBLIC_IP=$(curl --retry 5 --retry-connrefused https://ifconfig.co) | ||||
| 		else | ||||
| 			PUBLIC_IP=$(curl -4 https://ifconfig.co) | ||||
| 			PUBLIC_IP=$(curl --retry 5 --retry-connrefused -4 https://ifconfig.co) | ||||
| 		fi | ||||
| 		ENDPOINT=${ENDPOINT:-$PUBLIC_IP} | ||||
| 	fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stanislas
					Stanislas