From 081447008c7854ac3a1ae84e4e33eb112572b783 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Tue, 22 May 2018 09:43:35 +0200 Subject: [PATCH] [fix] Let VPN mount (#38) --- conf/ynh-vpnclient | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/ynh-vpnclient b/conf/ynh-vpnclient index 36a97e8..fcea2f8 100644 --- a/conf/ynh-vpnclient +++ b/conf/ynh-vpnclient @@ -129,6 +129,10 @@ start_openvpn() { [ "${ynh_server_proto}" == tcp ] && proto=tcp-client fi + # Unset firewall to let DNS and NTP resolution works + # Firewall is reset after vpn is mounted (more details on #1016) + unset_firewall + sync_time cp /etc/openvpn/client.conf{.tpl,}