summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_pptp.xml.in
blob: 2e2a3bec49fb95e2c8cb62837b4b4a2606f54dd9 (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
54
55
56
57
58
59
60
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="vpn">
    <children>
      <node name="pptp" owner="${vyos_conf_scripts_dir}/vpn_pptp.py">
        <properties>
          <help>Point to Point Tunneling Protocol (PPTP) Virtual Private Network (VPN)</help>
          <priority>901</priority>
        </properties>
        <children>
          <node name="remote-access">
            <properties>
              <help>Remote access PPTP VPN</help>
            </properties>
            <children>
              <node name="authentication">
                <properties>
                  <help>Authentication for remote access PPTP VPN</help>
                </properties>
                <children>
                  #include <include/accel-ppp/auth-local-users.xml.i>
                  #include <include/accel-ppp/auth-mode.xml.i>
                  #include <include/accel-ppp/auth-protocols.xml.i>
                  #include <include/radius-auth-server-ipv4.xml.i>
                  #include <include/accel-ppp/radius-additions.xml.i>
                  <node name="radius">
                    <children>
                      #include <include/accel-ppp/radius-additions-rate-limit.xml.i>
                    </children>
                  </node>
                </children>
              </node>
              #include <include/accel-ppp/max-concurrent-sessions.xml.i>
              #include <include/accel-ppp/mtu-128-16384.xml.i>
              <leafNode name="mtu">
                <defaultValue>1436</defaultValue>
              </leafNode>
              <leafNode name="outside-address">
                <properties>
                  <help>External IP address to which VPN clients will connect</help>
                  <constraint>
                    <validator name="ipv4-address"/>
                  </constraint>
                </properties>
              </leafNode>
              #include <include/accel-ppp/gateway-address.xml.i>
              #include <include/name-server-ipv4-ipv6.xml.i>
              #include <include/accel-ppp/wins-server.xml.i>
              #include <include/accel-ppp/client-ip-pool.xml.i>
              #include <include/accel-ppp/default-pool.xml.i>
              #include <include/accel-ppp/client-ipv6-pool.xml.i>
              #include <include/accel-ppp/default-ipv6-pool.xml.i>
              #include <include/accel-ppp/ppp-options.xml.i>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>