From a49be8cf197af87e68aae263d31b3448f8ce379a Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 6 Sep 2019 23:43:24 +0200 Subject: update demo setup --- .../custom/assets/ptdemo.bitmask.eip-service.json | 34 +++++++--------------- app/src/custom/assets/ptdemo.bitmask.net.json | 6 ++-- app/src/custom/assets/ptdemo.bitmask.secrets.json | 4 +-- 3 files changed, 15 insertions(+), 29 deletions(-) (limited to 'app') diff --git a/app/src/custom/assets/ptdemo.bitmask.eip-service.json b/app/src/custom/assets/ptdemo.bitmask.eip-service.json index 65b84dd0..d804d032 100644 --- a/app/src/custom/assets/ptdemo.bitmask.eip-service.json +++ b/app/src/custom/assets/ptdemo.bitmask.eip-service.json @@ -19,45 +19,31 @@ "filter_dns": false, "limited": false, "transport": [ - { - "type": "openvpn", - "protocols": [ - "tcp" - ], - "ports": [ - "443" - ] + {"type": "openvpn", + "protocols": ["tcp"], + "ports": ["443"] }, - { - "type": "obfs4", - "protocols": [ - "tcp" - ], - "options": { - "cert": "gZlp9k6br2vn2MLnmjXpNh8D/CrR5wtackwZof/iICv1QzPwkkTUa+7JVOKtPiD0NFwCMw", - "iat-mode": "0" - }, - "ports": [ - "23042" - ] + {"type": "obfs4", + "protocols": ["tcp"], + "options": {"cert": "gZlp9k6br2vn2MLnmjXpNh8D/CrR5wtackwZof/iICv1QzPwkkTUa+7JVOKtPiD0NFwCMw", "iat-mode": "0"}, + "ports": ["23042"] } ] } } ], - "openvpn_configuration": { "auth": "SHA1", "cipher": "AES-256-CBC", "dev": "tun", "keepalive": "10 30", "key-direction": "1", - "nobind": true, - "persist-key": true, + "nobind": "True", + "persist-key": "True", "rcvbuf": "0", "sndbuf": "0", "tls-cipher": "DHE-RSA-AES128-SHA", - "tun-ipv6": true, + "tun-ipv6": "True", "verb": "3" } } \ No newline at end of file diff --git a/app/src/custom/assets/ptdemo.bitmask.net.json b/app/src/custom/assets/ptdemo.bitmask.net.json index 54b4d8fd..98afaa54 100644 --- a/app/src/custom/assets/ptdemo.bitmask.net.json +++ b/app/src/custom/assets/ptdemo.bitmask.net.json @@ -1,8 +1,8 @@ { - "api_uri": "https://api.demo.bitmask.net:4430", - "api_version": "1", + "api_uri": "https://leech.demo.bitmask.net:8000", + "api_version": "3", "ca_cert_fingerprint": "SHA256: 0f17c033115f6b76ff67871872303ff65034efe7dd1b910062ca323eb4da5c7e", - "ca_cert_uri": "https://demo.bitmask.net/ca.crt", + "ca_cert_uri": "https://leech.demo.bitmask.net:8000/ca.crt", "default_language": "en", "description": { "el": "demo.bitmask.net allows you to test the Bitmask application. User accounts may be periodically deleted.", diff --git a/app/src/custom/assets/ptdemo.bitmask.secrets.json b/app/src/custom/assets/ptdemo.bitmask.secrets.json index acf26365..85900ea3 100644 --- a/app/src/custom/assets/ptdemo.bitmask.secrets.json +++ b/app/src/custom/assets/ptdemo.bitmask.secrets.json @@ -1,5 +1,5 @@ { "ca_cert":"-----BEGIN CERTIFICATE-----\nMIIFbzCCA1egAwIBAgIBATANBgkqhkiG9w0BAQ0FADBKMRgwFgYDVQQDDA9CaXRt\nYXNrIFJvb3QgQ0ExEDAOBgNVBAoMB0JpdG1hc2sxHDAaBgNVBAsME2h0dHBzOi8v\nYml0bWFzay5uZXQwHhcNMTIxMTA2MDAwMDAwWhcNMjIxMTA2MDAwMDAwWjBKMRgw\nFgYDVQQDDA9CaXRtYXNrIFJvb3QgQ0ExEDAOBgNVBAoMB0JpdG1hc2sxHDAaBgNV\nBAsME2h0dHBzOi8vYml0bWFzay5uZXQwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw\nggIKAoICAQC1eV4YvayaU+maJbWrD4OHo3d7S1BtDlcvkIRS1Fw3iYDjsyDkZxai\ndHp4EUasfNQ+EVtXUvtk6170EmLco6Elg8SJBQ27trE6nielPRPCfX3fQzETRfvB\n7tNvGw4Jn2YKiYoMD79kkjgyZjkJ2r/bEHUSevmR09BRp86syHZerdNGpXYhcQ84\nCA1+V+603GFIHnrP+uQDdssW93rgDNYu+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