Skip to content

0.33.1版Android apk点“连接VPN”即自动退出app。 #100

@erdcy

Description

@erdcy

配置文件是从apk文件中解压出来,配置后同步到手机,细节如下:
——————————————————分割线——————————————————————
{
"Log": ["stdout"],
"UserAgent":"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1",
"Encrypt":{"Method":"auto", "Key":"809240d3a021449f6e67bb73221d42df942a308a"},
"Auth": "gsnova",

"LocalDNS":{
	"Listen": "127.0.0.1:48100",
	"FastDNS":["114.114.114.114"],
	//"TrustedDNS": ["208.67.222.222:443", "208.67.220.220:443"],
	"TrustedDNS": ["208.67.222.222:443", "208.67.220.220:443"],
	"CacheSize":1024,
	"TCPConnect": false
},

//fake address, only used as udp protocol indicator
"UDPGWAddr": "20.20.20.20:1111",
"GFWList":{
	"URL":"https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt",
	"Proxy":"",
	"UserRule":[]
},


"Proxy":[
	{
		"Local": ":48100",
		"SNISniff": true,
		"PAC":[
			{"Protocol":["dns"],"Remote":"Direct"},
			{"Rule":["IsCNIP"],"Remote":"Direct"},
			{"Protocol":["udp"],"Remote":"Direct"},
			{"Remote":"Default"}
		]
	}
],

"Channel":[
	{
		"Enable":true,
		"Name":"Default",
		"ServerList":["http://myapp.herokuapp.com"],
		//if u are behind a HTTP proxy
		"HTTPProxy":"",
		"ConnsPerServer":3,
		//Unit: second
		"DialTimeout":5,
		//Unit: second
		"ReadTimeout":15,
		//Reconnect after 120s
		"ReconnectPeriod": 1200,
		//ReconnectPeriod rand adjustment, the real reconnect period is random value between [P - adjust, P + adjust]
		"RCPRandomAdjustment" : 60,
		//Send heartbeat msg to keep alive
		"HeartBeatPeriod": 10
	}
]

}

——————————————————分割线————————————————————————
Server List也试过:https://myapp.herokuapp.com 和 wss://myapp.herokuapp.com,都是相同的现象,点击“连接VPN”即自动退出app。P.S. Windows PC用上述两个链接都可以正常使用。

@yinqiwen 麻烦有空的帮忙看看,谢谢!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions