Changeset View
Changeset View
Standalone View
Standalone View
libs/editor/settings/ui/wireguardpeerwidget.ui
- This file was added.
1 | <?xml version="1.0" encoding="UTF-8"?> | ||||
---|---|---|---|---|---|
2 | <ui version="4.0"> | ||||
3 | <class>WireGuardPeersProp</class> | ||||
4 | <widget class="QWidget" name="WireGuardProp"> | ||||
5 | <property name="geometry"> | ||||
6 | <rect> | ||||
7 | <x>0</x> | ||||
8 | <y>0</y> | ||||
9 | <width>495</width> | ||||
10 | <height>454</height> | ||||
11 | </rect> | ||||
12 | </property> | ||||
13 | <layout class="QFormLayout" name="form2Layout"> | ||||
14 | <item row="1" column="0"> | ||||
15 | <widget class="QLabel" name="publicKeyLabel"> | ||||
16 | <property name="text"> | ||||
17 | <string>Public key:</string> | ||||
18 | </property> | ||||
19 | </widget> | ||||
20 | </item> | ||||
21 | <item row="1" column="1"> | ||||
22 | <widget class="QLineEdit" name="publicKeyLineEdit"> | ||||
23 | <property name="toolTip"> | ||||
24 | <string>Required. | ||||
25 | A base64 public key calculated by wg pubkey | ||||
26 | from a private key, and usually transmitted | ||||
27 | out of band to the author of the configuration file.</string> | ||||
28 | </property> | ||||
29 | </widget> | ||||
30 | </item> | ||||
31 | <item row="2" column="0"> | ||||
32 | <widget class="QLabel" name="allowedIPsLabel"> | ||||
33 | <property name="text"> | ||||
34 | <string>Allowed IPs:</string> | ||||
35 | </property> | ||||
36 | </widget> | ||||
37 | </item> | ||||
38 | <item row="2" column="1"> | ||||
39 | <widget class="QLineEdit" name="allowedIPsLineEdit"> | ||||
40 | <property name="toolTip"> | ||||
41 | <string>Required. | ||||
42 | A comma-separated list of IP (v4 or v6) addresses | ||||
43 | with CIDR masks from which incoming traffic for | ||||
44 | this peer is allowed and to which outgoing traffic | ||||
45 | for this peer is directed. The catch-all 0.0.0.0/0 | ||||
46 | may be specified for matching all IPv4 addresses, | ||||
47 | and ::/0 may be specified for matching all IPv6 addresses.</string> | ||||
48 | </property> | ||||
49 | </widget> | ||||
50 | </item> | ||||
51 | | ||||
52 | <item row="3" column="0"> | ||||
53 | <widget class="QLabel" name="endpointAddressLabel"> | ||||
54 | <property name="text"> | ||||
55 | <string>Endpoint address:</string> | ||||
56 | </property> | ||||
57 | </widget> | ||||
58 | </item> | ||||
59 | <item row="3" column="1"> | ||||
60 | <widget class="QLineEdit" name="endpointAddressLineEdit"> | ||||
61 | <property name="toolTip"> | ||||
62 | <string>Optional. | ||||
63 | An endpoint for the connection. Can be an | ||||
64 | IPv4 address, IPv6 address, or FQDN (fully | ||||
65 | qualified domain name such as abc.com). If | ||||
66 | present, Endpoint port must also be set.</string> | ||||
67 | </property> | ||||
68 | </widget> | ||||
69 | </item> | ||||
70 | | ||||
71 | <item row="4" column="0"> | ||||
72 | <widget class="QLabel" name="endpointPortLabel"> | ||||
73 | <property name="text"> | ||||
74 | <string>Endpoint port:</string> | ||||
75 | </property> | ||||
76 | </widget> | ||||
77 | </item> | ||||
78 | <item row="4" column="1"> | ||||
79 | <widget class="QLineEdit" name="endpointPortLineEdit"> | ||||
80 | <property name="toolTip"> | ||||
81 | <string>Optional. | ||||
82 | The port number of an endpoint. If present Endpoint | ||||
83 | Address must also be set.</string> | ||||
84 | </property> | ||||
85 | </widget> | ||||
86 | </item> | ||||
87 | | ||||
88 | <item row="5" column="0"> | ||||
89 | <widget class="QLabel" name="presharedKeyLabel"> | ||||
90 | <property name="text"> | ||||
91 | <string>Preshared key:</string> | ||||
92 | </property> | ||||
93 | </widget> | ||||
94 | </item> | ||||
95 | <item row="5" column="1"> | ||||
96 | <widget class="PasswordField" name="presharedKeyLineEdit"> | ||||
97 | <property name="toolTip"> | ||||
98 | <string>Optional. | ||||
99 | A base64 preshared key generated by wg genpsk. | ||||
100 | This option adds an additional layer of symmetric-key | ||||
101 | cryptography to be mixed into the already existing | ||||
102 | public-key cryptography, for post-quantum resistance.</string> | ||||
103 | </property> | ||||
104 | </widget> | ||||
105 | </item> | ||||
106 | <item row="6" column="0"> | ||||
107 | <widget class="QLabel" name="keepaliveLabel"> | ||||
108 | <property name="text"> | ||||
109 | <string>Persistent keepalive:</string> | ||||
110 | </property> | ||||
111 | </widget> | ||||
112 | </item> | ||||
113 | <item row="6" column="1"> | ||||
114 | <widget class="QLineEdit" name="keepaliveLineEdit"> | ||||
115 | <property name="toolTip"> | ||||
116 | <string>Optional. | ||||
117 | A seconds interval, between 1 and 65535 inclusive, of | ||||
118 | how often to send an authenticated empty packet to | ||||
119 | the peer for the purpose of keeping a stateful firewall | ||||
120 | or NAT mapping valid persistently. For example, if the | ||||
121 | interface very rarely sends traffic, but it might at | ||||
122 | anytime receive traffic from a peer, and it is behind | ||||
123 | NAT, the interface might benefit from having a | ||||
124 | persistent keepalive interval of 25 seconds. If set to | ||||
125 | 0 or "off", this option is disabled. By default or | ||||
126 | when unspecified, this option is off. Most users will not | ||||
127 | need this.</string> | ||||
128 | </property> | ||||
129 | </widget> | ||||
130 | </item> | ||||
131 | </layout> | ||||
132 | </widget> | ||||
133 | <customwidgets> | ||||
134 | <customwidget> | ||||
135 | <class>PasswordField</class> | ||||
136 | <extends>QLineEdit</extends> | ||||
137 | <header location="global">passwordfield.h</header> | ||||
138 | </customwidget> | ||||
139 | </customwidgets> | ||||
140 | <resources/> | ||||
141 | <connections/> | ||||
142 | </ui> |