Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using with -confdir . not working but -config /etc/v2ra/config.json works #55

Open
Ali-Flt opened this issue Feb 12, 2023 · 0 comments
Open

Comments

@Ali-Flt
Copy link

Ali-Flt commented Feb 12, 2023

Using the tutorial for general proxy in the readme I've set up cgproxy as gateway.
When I put my vmess outbound config in 06_outbounds_10_myproxy.json file like this:

{
        "outbounds": [{
                "domainStrategy": "AsIs",
                "protocol": "vmess",
                "settings": {
                        "vnext": [{
                                "address": "XXXX",
                                "port": 443,
                                "users": [{
                                        "alterId": 0,
                                        "id": "XXXX,
                                        "security": "auto"
                                }]
                        }]
                },
                "streamSettings": {
                        "network": "ws",
                        "security": "tls",
                        "tlsSettings": {
                                "allowInsecure": true,
                                "serverName": "XXXX"
                        },
                        "wsSettings": {
                                "headers": {
                                        "Host": "XXXX"
                                },
                                "path": "XXXX"
                        }
                },
                "tag": "outBound_PROXY"
        }]
}

and use v2ray run -confdir . Everything is sent to outBound_BLACKHOLE
But using the merge.sh file to merge configs and using v2ray run -c /etc/v2ray/config.json works perfectly.
What could be the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant