Changeset View
Changeset View
Standalone View
Standalone View
vpn/l2tp/l2tpipsec.ui
- This file was added.
1 | <?xml version="1.0" encoding="UTF-8"?> | ||||
---|---|---|---|---|---|
2 | <ui version="4.0"> | ||||
3 | <class>L2tpIpsecWidget</class> | ||||
4 | <widget class="QWidget" name="L2tpIpsecWidget"> | ||||
5 | <property name="geometry"> | ||||
6 | <rect> | ||||
7 | <x>0</x> | ||||
8 | <y>0</y> | ||||
9 | <width>538</width> | ||||
10 | <height>660</height> | ||||
11 | </rect> | ||||
12 | </property> | ||||
13 | <layout class="QVBoxLayout" name="verticalLayout"> | ||||
14 | <item> | ||||
15 | <widget class="QGroupBox" name="gbEnableTunnelToHost"> | ||||
16 | <property name="enabled"> | ||||
17 | <bool>true</bool> | ||||
18 | </property> | ||||
19 | <property name="title"> | ||||
20 | <string>Enable IPsec tunnel to L2TP host</string> | ||||
21 | </property> | ||||
22 | <property name="checkable"> | ||||
23 | <bool>true</bool> | ||||
24 | </property> | ||||
25 | <property name="checked"> | ||||
26 | <bool>true</bool> | ||||
27 | </property> | ||||
28 | <layout class="QVBoxLayout" name="verticalLayout_2"> | ||||
29 | <item> | ||||
30 | <widget class="QGroupBox" name="gbAuthentication"> | ||||
31 | <property name="sizePolicy"> | ||||
32 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> | ||||
33 | <horstretch>0</horstretch> | ||||
34 | <verstretch>0</verstretch> | ||||
35 | </sizepolicy> | ||||
36 | </property> | ||||
37 | <property name="title"> | ||||
38 | <string>Machine Authentication</string> | ||||
39 | </property> | ||||
40 | <layout class="QVBoxLayout" name="verticalLayout_3"> | ||||
41 | <item> | ||||
42 | <layout class="QFormLayout" name="formLayout"> | ||||
43 | <item row="0" column="0"> | ||||
44 | <widget class="QLabel" name="labelAuthType"> | ||||
45 | <property name="text"> | ||||
46 | <string>Type:</string> | ||||
47 | </property> | ||||
48 | <property name="alignment"> | ||||
49 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | ||||
50 | </property> | ||||
51 | <property name="wordWrap"> | ||||
52 | <bool>false</bool> | ||||
53 | </property> | ||||
54 | <property name="buddy"> | ||||
55 | <cstring>cmbAuthType</cstring> | ||||
56 | </property> | ||||
57 | </widget> | ||||
58 | </item> | ||||
59 | <item row="0" column="1"> | ||||
60 | <widget class="QComboBox" name="cmbAuthType"> | ||||
61 | <property name="sizePolicy"> | ||||
62 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | ||||
63 | <horstretch>0</horstretch> | ||||
64 | <verstretch>0</verstretch> | ||||
65 | </sizepolicy> | ||||
66 | </property> | ||||
67 | <property name="toolTip"> | ||||
68 | <string>Select an authentication mode.</string> | ||||
69 | </property> | ||||
70 | <item> | ||||
71 | <property name="text"> | ||||
72 | <string>Pre-shared Key (PSK)</string> | ||||
73 | </property> | ||||
74 | </item> | ||||
75 | <item> | ||||
76 | <property name="text"> | ||||
77 | <string>Certificates (TLS)</string> | ||||
78 | </property> | ||||
79 | </item> | ||||
80 | </widget> | ||||
81 | </item> | ||||
82 | </layout> | ||||
83 | </item> | ||||
84 | <item> | ||||
85 | <widget class="QStackedWidget" name="stackedWidget"> | ||||
86 | <widget class="QWidget" name="page"> | ||||
87 | <layout class="QFormLayout" name="formLayout_5"> | ||||
88 | <item row="0" column="0"> | ||||
89 | <widget class="QLabel" name="label"> | ||||
90 | <property name="text"> | ||||
91 | <string>Pre-shared Key:</string> | ||||
92 | </property> | ||||
93 | <property name="buddy"> | ||||
94 | <cstring>presharedKey</cstring> | ||||
95 | </property> | ||||
96 | </widget> | ||||
97 | </item> | ||||
98 | <item row="0" column="1"> | ||||
99 | <layout class="QHBoxLayout" name="horizontalLayout_3"> | ||||
100 | <item> | ||||
101 | <widget class="PasswordField" name="presharedKey"> | ||||
102 | <property name="toolTip"> | ||||
103 | <string><html><head/><body><p>Pre-shared key (PSK) secret.</p></body></html></string> | ||||
104 | </property> | ||||
105 | <property name="passwordModeEnabled" stdset="0"> | ||||
106 | <bool>true</bool> | ||||
107 | </property> | ||||
108 | </widget> | ||||
109 | </item> | ||||
110 | </layout> | ||||
111 | </item> | ||||
112 | </layout> | ||||
113 | </widget> | ||||
114 | <widget class="QWidget" name="page_1"> | ||||
115 | <layout class="QFormLayout" name="formLayout_2"> | ||||
116 | <item row="0" column="1"> | ||||
117 | <widget class="KUrlRequester" name="machineCA"> | ||||
118 | <property name="toolTip"> | ||||
119 | <string><html><head/><body><p>Certificate authority (CA) file in .pem, .der, .crt, .crt or .p12 formats.</p></body></html></string> | ||||
120 | </property> | ||||
121 | <property name="filter"> | ||||
122 | <string>*.pem *.der *.crt *.cer *.p12</string> | ||||
123 | </property> | ||||
124 | </widget> | ||||
125 | </item> | ||||
126 | <item row="1" column="0"> | ||||
127 | <widget class="QLabel" name="label_3"> | ||||
128 | <property name="text"> | ||||
129 | <string>Machine Certificate:</string> | ||||
130 | </property> | ||||
131 | <property name="wordWrap"> | ||||
132 | <bool>false</bool> | ||||
133 | </property> | ||||
134 | <property name="buddy"> | ||||
135 | <cstring>machineCert</cstring> | ||||
136 | </property> | ||||
137 | </widget> | ||||
138 | </item> | ||||
139 | <item row="1" column="1"> | ||||
140 | <widget class="KUrlRequester" name="machineCert"> | ||||
141 | <property name="toolTip"> | ||||
142 | <string><html><head/><body><p>Certificate in .pem, .der or .p12 formats.</p></body></html></string> | ||||
143 | </property> | ||||
144 | <property name="filter"> | ||||
145 | <string>*.pem *.der *.crt *.cer *.p12</string> | ||||
146 | </property> | ||||
147 | </widget> | ||||
148 | </item> | ||||
149 | <item row="2" column="0"> | ||||
150 | <widget class="QLabel" name="label_4"> | ||||
151 | <property name="text"> | ||||
152 | <string>Private Key:</string> | ||||
153 | </property> | ||||
154 | <property name="wordWrap"> | ||||
155 | <bool>false</bool> | ||||
156 | </property> | ||||
157 | <property name="buddy"> | ||||
158 | <cstring>machineKey</cstring> | ||||
159 | </property> | ||||
160 | </widget> | ||||
161 | </item> | ||||
162 | <item row="2" column="1"> | ||||
163 | <widget class="KUrlRequester" name="machineKey"> | ||||
164 | <property name="toolTip"> | ||||
165 | <string><html><head/><body><p>Private key in .pem, .der, .key, .pk8 or .p12 formats.</p></body></html></string> | ||||
166 | </property> | ||||
167 | <property name="filter"> | ||||
168 | <string>*.pem *der *.key *.pk8 *.p12</string> | ||||
169 | </property> | ||||
170 | </widget> | ||||
171 | </item> | ||||
172 | <item row="3" column="0"> | ||||
173 | <widget class="QLabel" name="label_5"> | ||||
174 | <property name="text"> | ||||
175 | <string>Private Key Password:</string> | ||||
176 | </property> | ||||
177 | <property name="buddy"> | ||||
178 | <cstring>machineKeyPassword</cstring> | ||||
179 | </property> | ||||
180 | </widget> | ||||
181 | </item> | ||||
182 | <item row="3" column="1"> | ||||
183 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | ||||
184 | <item> | ||||
185 | <widget class="PasswordField" name="machineKeyPassword"> | ||||
186 | <property name="toolTip"> | ||||
187 | <string><html><head/><body><p>Password for private key or PKCS#12 certificate.</p></body></html></string> | ||||
188 | </property> | ||||
189 | <property name="passwordModeEnabled" stdset="0"> | ||||
190 | <bool>true</bool> | ||||
191 | </property> | ||||
192 | </widget> | ||||
193 | </item> | ||||
194 | </layout> | ||||
195 | </item> | ||||
196 | <item row="0" column="0"> | ||||
197 | <widget class="QLabel" name="label_2"> | ||||
198 | <property name="text"> | ||||
199 | <string>CA Certificate:</string> | ||||
200 | </property> | ||||
201 | <property name="wordWrap"> | ||||
202 | <bool>false</bool> | ||||
203 | </property> | ||||
204 | <property name="buddy"> | ||||
205 | <cstring>machineCA</cstring> | ||||
206 | </property> | ||||
207 | </widget> | ||||
208 | </item> | ||||
209 | </layout> | ||||
210 | </widget> | ||||
211 | </widget> | ||||
212 | </item> | ||||
213 | </layout> | ||||
214 | </widget> | ||||
215 | </item> | ||||
216 | <item> | ||||
217 | <widget class="QGroupBox" name="gbAdvanced"> | ||||
218 | <property name="title"> | ||||
219 | <string>Advanced</string> | ||||
220 | </property> | ||||
221 | <layout class="QGridLayout" name="gridLayout"> | ||||
222 | <item row="1" column="0"> | ||||
223 | <widget class="QLabel" name="label_7"> | ||||
224 | <property name="text"> | ||||
225 | <string>Phase1 Algorithms:</string> | ||||
226 | </property> | ||||
227 | <property name="buddy"> | ||||
228 | <cstring>ike</cstring> | ||||
229 | </property> | ||||
230 | </widget> | ||||
231 | </item> | ||||
232 | <item row="2" column="0"> | ||||
233 | <widget class="QLabel" name="label_8"> | ||||
234 | <property name="text"> | ||||
235 | <string>Phase2 Algorithms:</string> | ||||
236 | </property> | ||||
237 | <property name="buddy"> | ||||
238 | <cstring>esp</cstring> | ||||
239 | </property> | ||||
240 | </widget> | ||||
241 | </item> | ||||
242 | <item row="2" column="1"> | ||||
243 | <widget class="QLineEdit" name="esp"> | ||||
244 | <property name="toolTip"> | ||||
245 | <string><html><head/><body><p>Optional. A list of proposals for ESP - Quick Mode. The format is “enc-integ,enc-integ, …”.</p></body></html></string> | ||||
246 | </property> | ||||
247 | </widget> | ||||
248 | </item> | ||||
249 | <item row="3" column="1"> | ||||
250 | <widget class="QTimeEdit" name="ikelifetime"> | ||||
251 | <property name="enabled"> | ||||
252 | <bool>false</bool> | ||||
253 | </property> | ||||
254 | <property name="toolTip"> | ||||
255 | <string><html><head/><body><p>How long the keying channel of a connection should last before being renegotiated.</p></body></html></string> | ||||
256 | </property> | ||||
257 | <property name="displayFormat"> | ||||
258 | <string>hh:mm:ss</string> | ||||
259 | </property> | ||||
260 | </widget> | ||||
261 | </item> | ||||
262 | <item row="3" column="0"> | ||||
263 | <widget class="QCheckBox" name="cbIkelifetime"> | ||||
264 | <property name="text"> | ||||
265 | <string>Phase1 Lifetime:</string> | ||||
266 | </property> | ||||
267 | </widget> | ||||
268 | </item> | ||||
269 | <item row="1" column="1"> | ||||
270 | <widget class="QLineEdit" name="ike"> | ||||
271 | <property name="toolTip"> | ||||
272 | <string><html><head/><body><p>Optional. A list of proposals for IKE - Main Mode. The format is “enc-integ-group,enc-integ-group, …”.</p></body></html></string> | ||||
273 | </property> | ||||
274 | </widget> | ||||
275 | </item> | ||||
276 | <item row="4" column="0"> | ||||
277 | <widget class="QCheckBox" name="cbSalifetime"> | ||||
278 | <property name="text"> | ||||
279 | <string>Phase2 Lifetime:</string> | ||||
280 | </property> | ||||
281 | </widget> | ||||
282 | </item> | ||||
283 | <item row="4" column="1"> | ||||
284 | <widget class="QTimeEdit" name="salifetime"> | ||||
285 | <property name="enabled"> | ||||
286 | <bool>false</bool> | ||||
287 | </property> | ||||
288 | <property name="toolTip"> | ||||
289 | <string><html><head/><body><p>How long a particular instance of a connection (a set of encryption/authentication keys for user packets) should last, from successful negotiation to expiry.</p></body></html></string> | ||||
290 | </property> | ||||
291 | <property name="displayFormat"> | ||||
292 | <string>hh:mm:ss</string> | ||||
293 | </property> | ||||
294 | </widget> | ||||
295 | </item> | ||||
296 | <item row="0" column="1"> | ||||
297 | <widget class="QLineEdit" name="remoteId"> | ||||
298 | <property name="toolTip"> | ||||
299 | <string><html><head/><body><p>Optional. How the IPsec server should be identified for authentication. Sometimes referred to as Peer ID or Gateway ID, also referred to as rightid by strongSwan, Libreswan, Openswan and FreeS/WAN. See strongSwan or Libreswan documentation for leftid/rightid syntax and identity parsing.</p></body></html></string> | ||||
300 | </property> | ||||
301 | </widget> | ||||
302 | </item> | ||||
303 | <item row="6" column="0" colspan="2"> | ||||
304 | <widget class="QCheckBox" name="cbIPComp"> | ||||
305 | <property name="toolTip"> | ||||
306 | <string><html><head/><body><p>IPComp compresses raw IP packets before they get encrypted. This saves some bandwidth, but uses more processing power.</p></body></html></string> | ||||
307 | </property> | ||||
308 | <property name="text"> | ||||
309 | <string>Use IP compression</string> | ||||
310 | </property> | ||||
311 | </widget> | ||||
312 | </item> | ||||
313 | <item row="7" column="0" colspan="2"> | ||||
314 | <widget class="QCheckBox" name="cbPFS"> | ||||
315 | <property name="toolTip"> | ||||
316 | <string><html><head/><body><p>Disable perfect forward security. Enable this option only if the server doesn’t support PFS.</p></body></html></string> | ||||
317 | </property> | ||||
318 | <property name="text"> | ||||
319 | <string>Disable PFS</string> | ||||
320 | </property> | ||||
321 | </widget> | ||||
322 | </item> | ||||
323 | <item row="5" column="0" colspan="2"> | ||||
324 | <widget class="QCheckBox" name="cbForceEncaps"> | ||||
325 | <property name="toolTip"> | ||||
326 | <string><html><head/><body><p>Some firewalls block ESP traffic. Enforcing UDP encapsulation even if no NAT situation is detected might help in such cases.</p></body></html></string> | ||||
327 | </property> | ||||
328 | <property name="text"> | ||||
329 | <string>Enforce UDP encapsulation</string> | ||||
330 | </property> | ||||
331 | <property name="checked"> | ||||
332 | <bool>false</bool> | ||||
333 | </property> | ||||
334 | </widget> | ||||
335 | </item> | ||||
336 | <item row="0" column="0"> | ||||
337 | <widget class="QLabel" name="label_6"> | ||||
338 | <property name="text"> | ||||
339 | <string>Remote ID:</string> | ||||
340 | </property> | ||||
341 | <property name="buddy"> | ||||
342 | <cstring>remoteId</cstring> | ||||
343 | </property> | ||||
344 | </widget> | ||||
345 | </item> | ||||
346 | </layout> | ||||
347 | </widget> | ||||
348 | </item> | ||||
349 | <item> | ||||
350 | <spacer name="verticalSpacer"> | ||||
351 | <property name="orientation"> | ||||
352 | <enum>Qt::Vertical</enum> | ||||
353 | </property> | ||||
354 | <property name="sizeHint" stdset="0"> | ||||
355 | <size> | ||||
356 | <width>510</width> | ||||
357 | <height>0</height> | ||||
358 | </size> | ||||
359 | </property> | ||||
360 | </spacer> | ||||
361 | </item> | ||||
362 | </layout> | ||||
363 | </widget> | ||||
364 | </item> | ||||
365 | <item> | ||||
366 | <widget class="QDialogButtonBox" name="buttonBox"> | ||||
367 | <property name="standardButtons"> | ||||
368 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | ||||
369 | </property> | ||||
370 | </widget> | ||||
371 | </item> | ||||
372 | </layout> | ||||
373 | <zorder>buttonBox</zorder> | ||||
374 | <zorder>gbEnableTunnelToHost</zorder> | ||||
375 | </widget> | ||||
376 | <layoutdefault spacing="6" margin="11"/> | ||||
377 | <customwidgets> | ||||
378 | <customwidget> | ||||
379 | <class>KUrlRequester</class> | ||||
380 | <extends>QWidget</extends> | ||||
381 | <header>kurlrequester.h</header> | ||||
382 | </customwidget> | ||||
383 | <customwidget> | ||||
384 | <class>PasswordField</class> | ||||
385 | <extends>QLineEdit</extends> | ||||
386 | <header>passwordfield.h</header> | ||||
387 | </customwidget> | ||||
388 | </customwidgets> | ||||
389 | <tabstops> | ||||
390 | <tabstop>cmbAuthType</tabstop> | ||||
391 | <tabstop>presharedKey</tabstop> | ||||
392 | <tabstop>machineCA</tabstop> | ||||
393 | <tabstop>machineCert</tabstop> | ||||
394 | <tabstop>machineKey</tabstop> | ||||
395 | <tabstop>machineKeyPassword</tabstop> | ||||
396 | </tabstops> | ||||
397 | <resources/> | ||||
398 | <connections> | ||||
399 | <connection> | ||||
400 | <sender>cmbAuthType</sender> | ||||
401 | <signal>currentIndexChanged(int)</signal> | ||||
402 | <receiver>stackedWidget</receiver> | ||||
403 | <slot>setCurrentIndex(int)</slot> | ||||
404 | <hints> | ||||
405 | <hint type="sourcelabel"> | ||||
406 | <x>345</x> | ||||
407 | <y>76</y> | ||||
408 | </hint> | ||||
409 | <hint type="destinationlabel"> | ||||
410 | <x>488</x> | ||||
411 | <y>234</y> | ||||
412 | </hint> | ||||
413 | </hints> | ||||
414 | </connection> | ||||
415 | <connection> | ||||
416 | <sender>buttonBox</sender> | ||||
417 | <signal>accepted()</signal> | ||||
418 | <receiver>L2tpIpsecWidget</receiver> | ||||
419 | <slot>accept()</slot> | ||||
420 | <hints> | ||||
421 | <hint type="sourcelabel"> | ||||
422 | <x>190</x> | ||||
423 | <y>119</y> | ||||
424 | </hint> | ||||
425 | <hint type="destinationlabel"> | ||||
426 | <x>190</x> | ||||
427 | <y>68</y> | ||||
428 | </hint> | ||||
429 | </hints> | ||||
430 | </connection> | ||||
431 | <connection> | ||||
432 | <sender>buttonBox</sender> | ||||
433 | <signal>rejected()</signal> | ||||
434 | <receiver>L2tpIpsecWidget</receiver> | ||||
435 | <slot>reject()</slot> | ||||
436 | <hints> | ||||
437 | <hint type="sourcelabel"> | ||||
438 | <x>190</x> | ||||
439 | <y>119</y> | ||||
440 | </hint> | ||||
441 | <hint type="destinationlabel"> | ||||
442 | <x>190</x> | ||||
443 | <y>68</y> | ||||
444 | </hint> | ||||
445 | </hints> | ||||
446 | </connection> | ||||
447 | <connection> | ||||
448 | <sender>cbIkelifetime</sender> | ||||
449 | <signal>toggled(bool)</signal> | ||||
450 | <receiver>ikelifetime</receiver> | ||||
451 | <slot>setEnabled(bool)</slot> | ||||
452 | <hints> | ||||
453 | <hint type="sourcelabel"> | ||||
454 | <x>86</x> | ||||
455 | <y>393</y> | ||||
456 | </hint> | ||||
457 | <hint type="destinationlabel"> | ||||
458 | <x>314</x> | ||||
459 | <y>393</y> | ||||
460 | </hint> | ||||
461 | </hints> | ||||
462 | </connection> | ||||
463 | <connection> | ||||
464 | <sender>cbSalifetime</sender> | ||||
465 | <signal>toggled(bool)</signal> | ||||
466 | <receiver>salifetime</receiver> | ||||
467 | <slot>setEnabled(bool)</slot> | ||||
468 | <hints> | ||||
469 | <hint type="sourcelabel"> | ||||
470 | <x>86</x> | ||||
471 | <y>418</y> | ||||
472 | </hint> | ||||
473 | <hint type="destinationlabel"> | ||||
474 | <x>314</x> | ||||
475 | <y>418</y> | ||||
476 | </hint> | ||||
477 | </hints> | ||||
478 | </connection> | ||||
479 | </connections> | ||||
480 | </ui> |