summaryrefslogtreecommitdiff
path: root/provider_base/services/obfsproxy.json
blob: ab92c11f092756fd96d93462d8259462c5e314cc (plain)
1
2
3
4
5
6
7
8
9
{
  "obfsproxy": {
    "scramblesuit": {
      "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}"
  }
}