summaryrefslogtreecommitdiff
path: root/res/xml/vpn_ipsettings.xml
blob: 8aacaaca4dab0a4eb1e2801fc8b596950162569d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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>