Browse Source

[fix] Let VPN mount

ljf (zamentur) 7 years ago
parent
commit
19e83122f5
1 changed files with 4 additions and 0 deletions
  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,}