Skip to content

Configuration translation #40

@NewUse

Description

@NewUse

Hi, thanks again for your project, I have got from the Internet the following config, could you please help to translate it into pegas config:

"outbounds": [{"tag": "proxy", "protocol": "vmess", "settings":
{"vnext": [
{"address": "vm.sg.servergo.pw", "port": 443, 
"users": [{"id": "00000-aaaa-bbbb-cccc-b9fe8c1c2ed1",
 "alterId": 0, 
"security": "auto",
 "level": 8,
"encryption": "",
 "flow": ""}]}
]}, 
 "streamSettings": {
"network": "ws", "security": "tls", 
"wsSettings": {"path": "/v2ray-vmess/tls", "headers": {"Host": "sg.servergo.pw"}},
"tlsSettings": {"allowInsecure": true, "serverName": "test.vmess.com", "show": false}
}, 
"mux": {"enabled": false, "concurrency": 8}
}, 
 {"tag": "direct", "protocol": "freedom", 
"settings": {"domainStrategy": "UseIp"}}, 
{"tag": "blackhole", "protocol": "blackhole", "settings": {}}
]

My config is like:

{
	"servers": [
		{
			"server_address": "vm.sg.servergo.pw",
			"server_type": "v2ray",
			"server_port": 443,
			"password": "00000-aaaa-bbbb-cccc-b9fe8c1c2ed1",
			"websocket": {
				"path": "/v2ray-vmess/tls",
				"hostname": "sg.servergo.pw"
			},
			"ssl": {
				"sni": "test.vmess.com"
			}
		}
	],
	"ping_interval": 120,
	"local_address": "192.168.1.1",
	"local_port": 1080,
	"log_level": 1
}

but it seems not working, where did I make a mistake?

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