File tree 4 files changed +14
-0
lines changed
netjsonconfig/backends/openvpn
4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,8 @@ Required properties:
182
182
+--------------------------+---------+--------------+-------------------------------------------------------------+
183
183
| ``tls_client `` | boolean | ``True `` | |
184
184
+--------------------------+---------+--------------+-------------------------------------------------------------+
185
+ | ``pull `` | boolean | ``True `` | |
186
+ +--------------------------+---------+--------------+-------------------------------------------------------------+
185
187
| ``auth_user_pass `` | string | | any non whitespace character |
186
188
+--------------------------+---------+--------------+-------------------------------------------------------------+
187
189
Original file line number Diff line number Diff line change @@ -232,6 +232,7 @@ The following example shows a full working *configuration dictionary* for the
232
232
" key" : " /tmp/owispmanager/openvpn/x509/l2vpn_client_2693.pem" ,
233
233
" ns_cert_type" : " server" ,
234
234
" mode" : " p2p" ,
235
+ " pull" : True ,
235
236
" enabled" : True ,
236
237
" comp_lzo" : " yes" ,
237
238
" down" : " /tmp/owispmanager/openvpn/vpn_2693_script_down.sh" ,
Original file line number Diff line number Diff line change 428
428
"format" : "checkbox" ,
429
429
"propertyOrder" : 9 ,
430
430
},
431
+ "pull" : {
432
+ "title" : "pull" ,
433
+ "description" : "accept options pushed by the server, provided they are "
434
+ "part of the legal set of pushable options" ,
435
+ "type" : "boolean" ,
436
+ "default" : True ,
437
+ "format" : "checkbox" ,
438
+ "propertyOrder" : 10 ,
439
+ },
431
440
"ns_cert_type" : {
432
441
"description" : "Require that peer certificate was signed with an explicit "
433
442
"nsCertType designation of \" server\" " ,
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ def test_client_mode(self):
129
129
"persist_tun" : True ,
130
130
"port" : 1195 ,
131
131
"proto" : "tcp-client" ,
132
+ "pull" : True ,
132
133
"remote" : [
133
134
{
134
135
"host" : "vpn1.test.com" ,
@@ -177,6 +178,7 @@ def test_client_mode(self):
177
178
persist-tun
178
179
port 1195
179
180
proto tcp-client
181
+ pull
180
182
remote vpn1.test.com 1194
181
183
remote vpn2.test.com 1195
182
184
resolv-retry
You can’t perform that action at this time.
0 commit comments