summaryrefslogtreecommitdiff
path: root/provider_base/services/obfsproxy.json
blob: 979d0ef9fd690f1808991d5fda592b9894048b8b (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{pick_node(:obfs_gateway,nodes_near_me['services' => 'openvpn']).pick_fields('openvpn.gateway_address')} || try{pick_node(:obfs_gateway,nodes_like_me['services' => 'openvpn']).pick_fields('openvpn.gateway_address')}"
  }
}