summaryrefslogtreecommitdiff
path: root/provider_base/services/openvpn.json
diff options
context:
space:
mode:
authorirregulator <irregulator@riseup.net>2014-06-03 21:36:09 +0300
committerelijah <elijah@riseup.net>2014-07-01 16:05:42 -0700
commit87e997658dae6655aa0a3f2da7dc8737ec9041bc (patch)
tree2225d26040ae04bc7a274d8b55dd10873a190bea /provider_base/services/openvpn.json
parente184143d3066f02968c8bb1035e0e02bae44d587 (diff)
A vpn node picks its openvpn.gateway as obfsproxy gateway address
Diffstat (limited to 'provider_base/services/openvpn.json')
-rw-r--r--provider_base/services/openvpn.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/provider_base/services/openvpn.json b/provider_base/services/openvpn.json
index c62fa04b..1906244c 100644
--- a/provider_base/services/openvpn.json
+++ b/provider_base/services/openvpn.json
@@ -32,6 +32,6 @@
"password": "= base32_secret('scramblesuit_password_'+name)",
"port" : "= rand_range('scramblesuit_port_'+name, 18000..32000)"
},
- "gateway_address": "= try{openvpn.gateway_address} || try{nodes_like_me[:services => 'openvpn']['location.name' => location.name].field('openvpn.gateway_address').shuffle.first} || try{nodes_like_me[:services => 'openvpn'].field('openvpn.gateway_address').shuffle.first}"
+ "gateway_address": "= openvpn.gateway_address"
}
}