summaryrefslogtreecommitdiff
path: root/provider_base/services
diff options
context:
space:
mode:
authorirregulator <irregulator@riseup.net>2014-05-22 03:57:28 +0300
committerelijah <elijah@riseup.net>2014-07-01 16:05:40 -0700
commitcfcc589c6465dab8a4d3923d6c81623ecfbeb8c1 (patch)
treeafda8d65539080710e93e32b825ee8d8338c11a4 /provider_base/services
parent94e0791cff9a3ce47e66c56a921e41b83b52b3d9 (diff)
Reflect change in leap_cli, use rand_range macro
Diffstat (limited to 'provider_base/services')
-rw-r--r--provider_base/services/obfsproxy.json3
1 files changed, 1 insertions, 2 deletions
diff --git a/provider_base/services/obfsproxy.json b/provider_base/services/obfsproxy.json
index 954ae868..792a4183 100644
--- a/provider_base/services/obfsproxy.json
+++ b/provider_base/services/obfsproxy.json
@@ -2,8 +2,7 @@
"obfsproxy": {
"scramblesuit": {
"password": "= base32_secret :scramblesuit_password",
- //"port" : "= rand(11..5555)"
- "port" : "= obfs_port :scramblesuit_port, 18000..32000"
+ "port" : "= rand_range :scramblesuit_port, 18000..32000"
},
"gateway_address": "= nodes[:services => 'openvpn'].field('openvpn.gateway_address')[0]"
}