Browse Source

Merge pull request #90 from YunoHost-Apps/testing

[fix] Interface name in iptables
ljf (zamentur) 3 years ago
parent
commit
ab4f39ebcf
4 changed files with 4 additions and 4 deletions
  1. 1 1
      README.md
  2. 1 1
      README_fr.md
  3. 1 1
      conf/hook_post-iptable-rules
  4. 1 1
      manifest.json

+ 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~ynh4
+**Shipped version:** 2.0.2~ynh5
 
 
 
 
 
 

+ 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~ynh4
+**Version incluse :** 2.0.2~ynh5
 
 
 
 
 
 

+ 1 - 1
conf/hook_post-iptable-rules

@@ -13,7 +13,7 @@ for i in ${server_names}; do
   fi
   fi
 done
 done
 
 
-interface=$(ip route | awk '/default via/ { print $NF; }')
+interface=$(ip route | awk '/default via/ { print $5; }')
 dns=$(grep -o -P '\s*nameserver\s+\K[ABCDEFabcdef\d.:]+' /etc/resolv.dnsmasq.conf)
 dns=$(grep -o -P '\s*nameserver\s+\K[ABCDEFabcdef\d.:]+' /etc/resolv.dnsmasq.conf)
 
 
 # IPv6
 # IPv6

+ 1 - 1
manifest.json

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