Parcourir la source

[fix] Let VPN mount

ljf (zamentur) il y a 7 ans
Parent
commit
19e83122f5
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      conf/ynh-vpnclient

+ 4 - 0
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,}