Skip to content

Using maple over Vmess #35

@Ali-Flt

Description

@Ali-Flt

I am trying to use maple for connecting to a V2ray server. I really can't understand how to setup the config file from the documentations.
Can you tell me what should I use as a config file if my v2ray config looks like this?
Should I delete the default values for protocols I'm not using or not? When I open the app I encountered a huge config file and I had no Idea what to set It's really confusing.

{
    "dns": {
        "hosts": {
            "domain:googleapis.cn": "googleapis.com"
        },
        "servers": [
            "1.1.1.1"
        ]
    },
    "inbounds": [
        {
            "listen": "127.0.0.1",
            "port": 10808,
            "protocol": "socks",
            "settings": {
                "auth": "noauth",
                "udp": true,
                "userLevel": 8
            },
            "sniffing": {
                "destOverride": [
                    "http",
                    "tls"
                ],
                "enabled": true
            },
            "tag": "socks"
        },
        {
            "listen": "127.0.0.1",
            "port": 10809,
            "protocol": "http",
            "settings": {
                "userLevel": 8
            },
            "tag": "http"
        }
    ],
    "log": {
        "loglevel": "warning"
    },
    "outbounds": [
        {
            "mux": {
                "concurrency": 8,
                "enabled": false
            },
            "protocol": "vmess",
            "settings": {
                "vnext": [
                    {
                        "address": "my_server_ip",
                        "port": my_server_port,
                        "users": [
                            {
                                "alterId": 0,
                                "encryption": "",
                                "flow": "",
                                "id": "my-uuid",
                                "level": 8,
                                "security": "auto"
                            }
                        ]
                    }
                ]
            },
            "streamSettings": {
                "network": "ws",
                "security": "",
                "wsSettings": {
                    "headers": {
                        "Host": ""
                    },
                    "path": "/websocket/"
                }
            },
            "tag": "proxy"
        },
        {
            "protocol": "freedom",
            "settings": {
            },
            "tag": "direct"
        },
        {
            "protocol": "blackhole",
            "settings": {
                "response": {
                    "type": "http"
                }
            },
            "tag": "block"
        }
    ],
    "routing": {
        "domainMatcher": "mph",
        "domainStrategy": "IPIfNonMatch",
        "rules": [
            {
                "ip": [
                    "1.1.1.1"
                ],
                "outboundTag": "proxy",
                "port": "53",
                "type": "field"
            }
        ]
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationAll about Leaf ConfigurationupstreamAwaiting further action from upstream

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions