Project

General

Profile

Bug #13166 » ipsec_config.xml

Marcos M, 05/15/2022 02:42 PM

 
1
		<phase1>
2
			<ikeid>1</ikeid>
3
			<iketype>ikev2</iketype>
4
			<interface>CL</interface>
5
			<mobile></mobile>
6
			<protocol>inet</protocol>
7
			<myid_type>fqdn</myid_type>
8
			<myid_data>gw.office.example.com</myid_data>
9
			<peerid_type>any</peerid_type>
10
			<peerid_data>vpnusers@example.com</peerid_data>
11
			<encryption>
12
				<item>
13
					<encryption-algorithm>
14
						<name>3des</name>
15
						<keylen></keylen>
16
					</encryption-algorithm>
17
					<hash-algorithm>sha1</hash-algorithm>
18
					<prf-algorithm>md5</prf-algorithm>
19
					<dhgroup>2</dhgroup>
20
				</item>
21
			</encryption>
22
			<lifetime>86400</lifetime>
23
			<rekey_time></rekey_time>
24
			<reauth_time></reauth_time>
25
			<rand_time></rand_time>
26
			<pre-shared-key>xxxxx</pre-shared-key>
27
			<private-key></private-key>
28
			<certref>62814b47cbd2d</certref>
29
			<pkcs11certref></pkcs11certref>
30
			<pkcs11pin>xxxxx</pkcs11pin>
31
			<caref></caref>
32
			<authentication_method>eap-radius</authentication_method>
33
			<descr><![CDATA[Office VPN]]></descr>
34
			<nat_traversal>force</nat_traversal>
35
			<mobike>on</mobike>
36
			<startaction></startaction>
37
			<closeaction></closeaction>
38
			<dpd_delay>10</dpd_delay>
39
			<dpd_maxfail>5</dpd_maxfail>
40
		</phase1>
41
		<phase2>
42
			<ikeid>1</ikeid>
43
			<uniqid>572e0862b572b</uniqid>
44
			<mode>tunnel</mode>
45
			<reqid>1</reqid>
46
			<localid>
47
				<type>network</type>
48
				<address>0.0.0.0</address>
49
				<netbits>0</netbits>
50
			</localid>
51
			<remoteid>
52
				<type></type>
53
			</remoteid>
54
			<protocol>esp</protocol>
55
			<encryption-algorithm-option>
56
				<name>aes</name>
57
				<keylen>auto</keylen>
58
			</encryption-algorithm-option>
59
			<encryption-algorithm-option>
60
				<name>3des</name>
61
			</encryption-algorithm-option>
62
			<hash-algorithm-option>hmac_sha1</hash-algorithm-option>
63
			<hash-algorithm-option>hmac_sha256</hash-algorithm-option>
64
			<pfsgroup>0</pfsgroup>
65
			<lifetime>28800</lifetime>
66
			<pinghost></pinghost>
67
			<descr></descr>
68
			<mobile></mobile>
69
		</phase2>
70
		<phase2>
71
			<ikeid>1</ikeid>
72
			<uniqid>58da59107fbc3</uniqid>
73
			<mode>tunnel</mode>
74
			<reqid>2</reqid>
75
			<localid>
76
				<type>network</type>
77
				<address>192.168.50.0</address>
78
				<netbits>24</netbits>
79
			</localid>
80
			<remoteid>
81
				<type></type>
82
			</remoteid>
83
			<protocol>esp</protocol>
84
			<encryption-algorithm-option>
85
				<name>aes</name>
86
				<keylen>auto</keylen>
87
			</encryption-algorithm-option>
88
			<encryption-algorithm-option>
89
				<name>3des</name>
90
			</encryption-algorithm-option>
91
			<hash-algorithm-option>hmac_sha1</hash-algorithm-option>
92
			<hash-algorithm-option>hmac_sha256</hash-algorithm-option>
93
			<pfsgroup>0</pfsgroup>
94
			<lifetime>28800</lifetime>
95
			<pinghost></pinghost>
96
			<descr></descr>
97
			<mobile></mobile>
98
		</phase2>
(1-1/2)