summaryrefslogtreecommitdiff
path: root/res/xml/vpn_ipsettings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml/vpn_ipsettings.xml')
-rw-r--r--res/xml/vpn_ipsettings.xml53
1 files changed, 53 insertions, 0 deletions
diff --git a/res/xml/vpn_ipsettings.xml b/res/xml/vpn_ipsettings.xml
new file mode 100644
index 00000000..8aacaaca
--- /dev/null
+++ b/res/xml/vpn_ipsettings.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <SwitchPreference
+ android:disableDependentsState="true"
+ android:key="usePull"
+ android:title="Pull Settings" />
+
+ <PreferenceCategory android:title="IP" >
+ <EditTextPreference
+ android:dependency="usePull"
+ android:dialogMessage="@string/ipv4_dialog_title"
+ android:key="ipv4_address"
+ android:title="@string/ipv4_address" />
+ <EditTextPreference
+ android:dependency="usePull"
+ android:dialogMessage="@string/ipv6_dialog_tile"
+ android:key="ipv6_address"
+ android:title="@string/ipv6_address" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="DNS" >
+ <CheckBoxPreference
+ android:key="overrideDNS"
+ android:summary="Override DNS Settings by Server"
+ android:title="Override DNS Settings" />
+
+ <EditTextPreference
+ android:key="searchdomain"
+ android:title="searchDomain" />
+ <EditTextPreference
+ android:key="dns1"
+ android:title="DNS Server" />
+ <EditTextPreference
+ android:key="dns2"
+ android:title="Backup DNS Server" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="Routing" >
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:dependency="usePull"
+ android:disableDependentsState="true"
+ android:key="useDefaultRoute"
+ android:summary="Redirects all Traffic over the VPN"
+ android:title="Use default Route" />
+
+ <EditTextPreference
+ android:dependency="useDefaultRoute"
+ android:dialogMessage="Enter custom routes. Only enter destination in CIDR format. &quot;10.0.0.0/8 2002::/16&quot; would direct the networks 10.0.0.0/8 and 2002::/16 over the VPN."
+ android:key="customRoutes"
+ android:title="Custom Routes" />
+ </PreferenceCategory>
+
+</PreferenceScreen> \ No newline at end of file