Browse Source

Merge pull request #95 from YunoHost-Apps/testing

New version
ljf (zamentur) 3 years ago
parent
commit
3729c554b9
5 changed files with 5 additions and 4 deletions
  1. 1 1
      README.md
  2. 1 1
      README_fr.md
  3. 1 0
      conf/hook_post-iptable-rules
  4. 1 1
      manifest.json
  5. 1 1
      scripts/config

+ 1 - 1
README.md

@@ -24,7 +24,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
 
 
 
-**Shipped version:** 2.0.2~ynh6
+**Shipped version:** 2.0.1~ynh6
 
 
 

+ 1 - 1
README_fr.md

@@ -20,7 +20,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
 
 
 
-**Version incluse :** 2.0.2~ynh6
+**Version incluse :** 2.0.1~ynh6
 
 
 

+ 1 - 0
conf/hook_post-iptable-rules

@@ -43,6 +43,7 @@ do
 done
 
 ip6tables -w -A vpnclient_out -d fd00::/8,fe80::/10 -j ACCEPT
+ip6tables -w -A vpnclient_out -p icmpv6 -j ACCEPT
 ip6tables -w -A vpnclient_out -p udp --dport 5353 -d ff02::fb -j ACCEPT
 ip6tables -w -A vpnclient_out -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
 ip6tables -w -A vpnclient_out -j DROP

+ 1 - 1
manifest.json

@@ -6,7 +6,7 @@
     "en": "Tunnel the internet traffic through a VPN",
     "fr": "Fait passer le trafic internet à travers un VPN"
   },
-  "version": "2.0.2~ynh6",
+  "version": "2.0.1~ynh6",
   "url": "https://labriqueinter.net",
   "license": "AGPL-3.0",
   "maintainer": {

+ 1 - 1
scripts/config

@@ -248,7 +248,7 @@ ynh_app_config_validate() {
         jq --raw-output '.openvpn_rm[]' "${config_file}" | while read -r rm_regex
         do
             if [ ! -z "${rm_regex}" ] ; then
-                sed -i "/$rm_regex/d" $tmp_dir/client.conf.tpl
+		sed -i "/${rm_regex/\//\\\/}/d" $tmp_dir/client.conf.tpl
             fi
         done