summaryrefslogtreecommitdiff
path: root/main/src/ui/res/xml/vpn_routing.xml
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/res/xml/vpn_routing.xml')
-rw-r--r--main/src/ui/res/xml/vpn_routing.xml66
1 files changed, 66 insertions, 0 deletions
diff --git a/main/src/ui/res/xml/vpn_routing.xml b/main/src/ui/res/xml/vpn_routing.xml
new file mode 100644
index 00000000..4b662b25
--- /dev/null
+++ b/main/src/ui/res/xml/vpn_routing.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 2012-2016 Arne Schwabe
+ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
+ -->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <CheckBoxPreference
+ android:key="routenopull"
+ 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"
+ />
+
+ <CheckBoxPreference
+ android:title="@string/title_block_address_families"
+ android:key="blockUnusedAF"
+ android:summary="@string/summary_block_address_families"
+ />
+ <PreferenceCategory android:title="@string/ipv4" >
+ <CheckBoxPreference
+ android:disableDependentsState="true"
+ android:key="useDefaultRoute"
+ android:summary="@string/default_route_summary"
+ android:title="@string/use_default_title" />
+
+ <EditTextPreference
+ android:dependency="useDefaultRoute"
+ android:dialogMessage="@string/custom_route_message"
+ android:key="customRoutes"
+ android:title="@string/custom_routes_title" />
+
+ <EditTextPreference
+ android:dependency="useDefaultRoute"
+ android:dialogMessage="@string/custom_route_message_excluded"
+ android:key="excludedRoutes"
+ android:title="@string/custom_routes_title_excluded" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/ipv6" >
+ <CheckBoxPreference
+ android:disableDependentsState="true"
+ android:key="useDefaultRoutev6"
+ android:summary="@string/default_route_summary"
+ android:title="@string/use_default_title" />
+
+ <EditTextPreference
+ android:dependency="useDefaultRoutev6"
+ android:dialogMessage="@string/custom_route_message"
+ android:key="customRoutesv6"
+ android:title="@string/custom_routes_title" />
+
+ <!-- disable for now. Not supported by OpenVPN itself -->
+ <EditTextPreference
+ android:enabled="false"
+ android:dependency="useDefaultRoute"
+ android:dialogMessage="@string/custom_route_message_excluded"
+ android:key="excludedRoutesv6"
+ android:title="@string/custom_routes_title_excluded" />
+ </PreferenceCategory>
+
+</PreferenceScreen> \ No newline at end of file