From: Manuel Munz Date: Sun, 1 Jul 2012 00:01:38 +0000 (+0000) Subject: contrib/freifunk-policyrouting: Fix deletion of rules; add fallback option to use... X-Git-Tag: 0.11.0~513 X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=9b1f4dfee38395e99009be5f1276153d2d052506 contrib/freifunk-policyrouting: Fix deletion of rules; add fallback option to use the mesh gateway if the own gateway is not available --- diff --git a/applications/luci-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua b/applications/luci-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua index b3cac9a10a..4361eb782d 100644 --- a/applications/luci-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua +++ b/applications/luci-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua @@ -28,6 +28,10 @@ local strict = c:option(Flag, "strict", translate("Strict Filtering"), translate "select this option.")) strict.rmempty = false +local fallback = c:option(Flag, "fallback", translate("Fallback to mesh"), + translate("If your own gateway is not available then fallback to the mesh default gateway.")) +strict.rmempty = false + local zones = c:option(MultiValue, "zones", translate("Firewall zones"), translate("All traffic from interfaces belonging to these zones will be sent via ".. "a gateway in the mesh network.")) uci:foreach("firewall", "zone", function(section) diff --git a/contrib/package/freifunk-policyrouting/files/etc/config/freifunk-policyrouting b/contrib/package/freifunk-policyrouting/files/etc/config/freifunk-policyrouting index ba58625bc1..3dd2998f9f 100644 --- a/contrib/package/freifunk-policyrouting/files/etc/config/freifunk-policyrouting +++ b/contrib/package/freifunk-policyrouting/files/etc/config/freifunk-policyrouting @@ -2,5 +2,6 @@ config 'settings' 'pr' option 'enable' '0' option 'strict' '1' + option 'fallback' '1' option 'zones' '' diff --git a/contrib/package/freifunk-policyrouting/files/etc/hotplug.d/iface/30-policyrouting b/contrib/package/freifunk-policyrouting/files/etc/hotplug.d/iface/30-policyrouting index acce981130..dc5e69e594 100644 --- a/contrib/package/freifunk-policyrouting/files/etc/hotplug.d/iface/30-policyrouting +++ b/contrib/package/freifunk-policyrouting/files/etc/hotplug.d/iface/30-policyrouting @@ -1,10 +1,11 @@ [ "$INTERFACE" != "wan" ] && exit 0 +[ -f /proc/net/ipv6_route ] && has_ipv6=1 case $ACTION in ifup) - pr=`uci get freifunk-policyrouting.pr.enable` + pr="`uci get freifunk-policyrouting.pr.enable`" + fallback="`uci get freifunk-policyrouting.pr.fallback`" # check if ipv6 is enabled: - [ -f /proc/net/ipv6_route ] && has_ipv6=1 if [ $pr = "1" ]; then logger -t policyrouting "Starting policy routing on $INTERFACE" @@ -58,24 +59,30 @@ case $ACTION in ip route add $NETWORK/$NETMASK dev $device table default ip route add default via $gw dev $device table default - #if [ "$has_ipv6" = 1 ]; then - # local ip6gw=$(ip -6 r |grep default |cut -d " " -f 3) - # test -n "`ip -6 r s t default`" && ip -6 r d default t default - # test -n "`ip -6 r s |grep default`" && ip -6 route del default - # ip -6 r a $ip6gw via $ip6gw dev $dev table default - # ip -6 route add default via $ip6gw dev $device table default - #fi - + if [ "$has_ipv6" = 1 ]; then + local ip6gw=$(ip -6 r |grep default |cut -d " " -f 3) + test -n "`ip -6 r s t default`" && ip -6 r d default t default + if [ -n "`ip -6 r s |grep default`" ]; then + ip -6 route del default + ip -6 r a $ip6gw via $ip6gw dev $dev table default + ip -6 route add default via $ip6gw dev $device table default + fi + fi ip rule del lookup main ip rule add fwmark 1 lookup olsr-default ip rule add lookup main ip rule add lookup olsr + # Fallback via mesh if no ipv4 gateway is found in default table + [ "$fallback" = 1 ] && ip rule add lookup olsr-default prio 32800 + if [ "$has_ipv6" = 1 ]; then ip -6 rule del lookup main - ip -6 rule add fwmark 1 lookup olsr-default prio 16385 - ip -6 rule add lookup main prio 16383 ip -6 rule add lookup olsr prio 16380 + ip -6 rule add lookup main prio 16390 + ip -6 rule add fwmark 1 lookup olsr-default prio 16400 + ip -6 rule add lookup default prio 16410 + [ "$fallback" = 1 ] && ip -6 rule add lookup olsr-default prio 16420 fi else # Remove custom routing tables from olsrd @@ -89,12 +96,16 @@ case $ACTION in ;; ifdown) - logger -t policyrouting "Deleting policy rules for $INTERFACE" + logger -t policyrouting "Deleting ipv4 policy rules for $INTERFACE" ip rule del fwmark 1 lookup olsr-default > /dev/null 2>&1 + ip rule del lookup olsr-default > /dev/null 2>&1 ip rule del lookup olsr > /dev/null 2>&1 if [ "$has_ipv6" = 1 ]; then + logger -t policyrouting "Deleting ipv4 policy rules for $INTERFACE" ip -6 rule del fwmark 1 lookup olsr-default > /dev/null 2>&1 - ip -6 rule del lookup olsr > /dev/null 2>&1 + ip -6 rule del lookup olsr-default > /dev/null 2>&1 + ip -6 rule del lookup olsr > /dev/null 2>&1 + ip -6 rule del lookup default > /dev/null 2>&1 fi ;; esac diff --git a/po/ca/freifunk-policyrouting.po b/po/ca/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/ca/freifunk-policyrouting.po +++ b/po/ca/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/cs/freifunk-policyrouting.po b/po/cs/freifunk-policyrouting.po index 542c104071..d0fd884b3e 100644 --- a/po/cs/freifunk-policyrouting.po +++ b/po/cs/freifunk-policyrouting.po @@ -3,6 +3,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,6 +16,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "Zóny firewallu" @@ -25,6 +29,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/de/freifunk-policyrouting.po b/po/de/freifunk-policyrouting.po index 44bb15162e..f62cb82a72 100644 --- a/po/de/freifunk-policyrouting.po +++ b/po/de/freifunk-policyrouting.po @@ -5,10 +5,10 @@ msgstr "" "PO-Revision-Date: \n" "Last-Translator: Manuel Munz \n" "Language-Team: \n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: \n" msgid "" "All traffic from interfaces belonging to these zones will be sent via a " @@ -20,6 +20,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "Policy Routing aktivieren" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "Firewallzonen" @@ -34,6 +37,11 @@ msgstr "" "Routers geleitet. Wenn das nicht gewünscht ist und dieser Traffic dann " "stattdessen geblockt werden soll, dann aktiviere diese Option." +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "Policy Routing" diff --git a/po/el/freifunk-policyrouting.po b/po/el/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/el/freifunk-policyrouting.po +++ b/po/el/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/en/freifunk-policyrouting.po b/po/en/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/en/freifunk-policyrouting.po +++ b/po/en/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/es/freifunk-policyrouting.po b/po/es/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/es/freifunk-policyrouting.po +++ b/po/es/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/fr/freifunk-policyrouting.po b/po/fr/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/fr/freifunk-policyrouting.po +++ b/po/fr/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/he/freifunk-policyrouting.po b/po/he/freifunk-policyrouting.po index 7dc4555e71..8d83098d6f 100644 --- a/po/he/freifunk-policyrouting.po +++ b/po/he/freifunk-policyrouting.po @@ -3,6 +3,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -16,6 +17,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -26,6 +30,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/hu/freifunk-policyrouting.po b/po/hu/freifunk-policyrouting.po index 7dc4555e71..8d83098d6f 100644 --- a/po/hu/freifunk-policyrouting.po +++ b/po/hu/freifunk-policyrouting.po @@ -3,6 +3,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -16,6 +17,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -26,6 +30,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/it/freifunk-policyrouting.po b/po/it/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/it/freifunk-policyrouting.po +++ b/po/it/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/ja/freifunk-policyrouting.po b/po/ja/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/ja/freifunk-policyrouting.po +++ b/po/ja/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/ms/freifunk-policyrouting.po b/po/ms/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/ms/freifunk-policyrouting.po +++ b/po/ms/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/no/freifunk-policyrouting.po b/po/no/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/no/freifunk-policyrouting.po +++ b/po/no/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/pl/freifunk-policyrouting.po b/po/pl/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/pl/freifunk-policyrouting.po +++ b/po/pl/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/pt/freifunk-policyrouting.po b/po/pt/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/pt/freifunk-policyrouting.po +++ b/po/pt/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/pt_BR/freifunk-policyrouting.po b/po/pt_BR/freifunk-policyrouting.po index acb5415149..c401c3fc80 100644 --- a/po/pt_BR/freifunk-policyrouting.po +++ b/po/pt_BR/freifunk-policyrouting.po @@ -6,10 +6,10 @@ msgstr "" "PO-Revision-Date: 2011-10-18 22:26+0200\n" "Last-Translator: Luiz Angelo \n" "Language-Team: LANGUAGE \n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Pootle 2.0.4\n" @@ -23,6 +23,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "Habilitar a Política de Roteamento" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "Zonas do firewall" @@ -37,6 +40,11 @@ msgstr "" "como solução de contorno. Se você não quer isto e, ao contrário, deseja " "bloquear este tráfego, então você deve selecionar esta opção." +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "Política de Roteamento" diff --git a/po/ro/freifunk-policyrouting.po b/po/ro/freifunk-policyrouting.po index f0cfcdb068..f1432d670c 100644 --- a/po/ro/freifunk-policyrouting.po +++ b/po/ro/freifunk-policyrouting.po @@ -3,6 +3,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -17,6 +18,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -27,6 +31,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/ru/freifunk-policyrouting.po b/po/ru/freifunk-policyrouting.po index 78c3711403..528ab082f3 100644 --- a/po/ru/freifunk-policyrouting.po +++ b/po/ru/freifunk-policyrouting.po @@ -6,12 +6,12 @@ msgstr "" "PO-Revision-Date: 2011-07-25 12:52+0200\n" "Last-Translator: Kamal \n" "Language-Team: LANGUAGE \n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: ru\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" -"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Pootle 2.0.4\n" msgid "" @@ -24,6 +24,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "Разрешить политику маршрутизации" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "Зоны межсетевого экрана" @@ -38,6 +41,11 @@ msgstr "" "ячеистой сети. Если Вас это не устраивает, то выберите эту опцию и данный " "траффик будет заблокирован." +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "Политика маршрутизации" diff --git a/po/templates/freifunk-policyrouting.pot b/po/templates/freifunk-policyrouting.pot index c9465d4cf8..b4c35c177c 100644 --- a/po/templates/freifunk-policyrouting.pot +++ b/po/templates/freifunk-policyrouting.pot @@ -9,6 +9,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -19,6 +22,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/tr/freifunk-policyrouting.po b/po/tr/freifunk-policyrouting.po index bb4af24c35..af1616fa48 100644 --- a/po/tr/freifunk-policyrouting.po +++ b/po/tr/freifunk-policyrouting.po @@ -3,6 +3,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -16,6 +17,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -26,6 +30,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/uk/freifunk-policyrouting.po b/po/uk/freifunk-policyrouting.po index 9e416e04a4..a378cef4f2 100644 --- a/po/uk/freifunk-policyrouting.po +++ b/po/uk/freifunk-policyrouting.po @@ -3,11 +3,12 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" -"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" msgid "" "All traffic from interfaces belonging to these zones will be sent via a " @@ -17,6 +18,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -27,6 +31,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/vi/freifunk-policyrouting.po b/po/vi/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/vi/freifunk-policyrouting.po +++ b/po/vi/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr "" diff --git a/po/zh_CN/freifunk-policyrouting.po b/po/zh_CN/freifunk-policyrouting.po index b739057fb0..3c9a17e0d4 100644 --- a/po/zh_CN/freifunk-policyrouting.po +++ b/po/zh_CN/freifunk-policyrouting.po @@ -6,6 +6,9 @@ msgstr "" msgid "Enable Policy Routing" msgstr "" +msgid "Fallback to mesh" +msgstr "" + msgid "Firewall zones" msgstr "" @@ -16,6 +19,11 @@ msgid "" "traffic then you should select this option." msgstr "" +msgid "" +"If your own gateway is not available then fallback to the mesh default " +"gateway." +msgstr "" + msgid "Policy Routing" msgstr ""