diff options
Diffstat (limited to 'res')
-rwxr-xr-x | res/values/strings.xml | 2 | ||||
-rw-r--r-- | res/xml/vpn_routing.xml | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 34721515..2998a9a4 100755 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -309,4 +309,6 @@ <string name="unhandled_exception_context">%3$s: %1$s\n\n%2$s</string> <string name="faq_system_dialog_xposed">If you have rooted your Android device you can install the <a href=\"http://xposed.info/\">Xposed framework</a> and a the <a href=\"http://repo.xposed.info/module/de.blinkt.vpndialogxposed\">VPN Dialog confirm module</a> at your own risk"</string> <string name="full_licenses">Full licenses</string> + <string name="blocklocal_summary">Networks directly connected to the local interfaces will not be routed over the VPN. Unchecking this option will redirect all traffic indented for local networks to VPN.</string> + <string name="blocklocal_title">Bypass VPN for local networks</string> </resources> diff --git a/res/xml/vpn_routing.xml b/res/xml/vpn_routing.xml index ce19a500..298f488f 100644 --- a/res/xml/vpn_routing.xml +++ b/res/xml/vpn_routing.xml @@ -6,6 +6,12 @@ android:summary="@string/ignore_routes_summary" android:title="@string/ignored_pushed_routes" /> + <CheckBoxPreference + android:title="@string/blocklocal_title" + android:summary="@string/blocklocal_summary" + android:key="unblockLocal" + /> + <PreferenceCategory android:title="@string/ipv4" > <CheckBoxPreference android:disableDependentsState="true" |