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

add disable opt for local servers #543

Merged
merged 1 commit into from Jun 1, 2021
Merged

add disable opt for local servers #543

merged 1 commit into from Jun 1, 2021

Conversation

wyzdot
Copy link
Contributor

@wyzdot wyzdot commented Jun 1, 2021

No description provided.

@zonyitoo
Copy link
Collaborator

zonyitoo commented Jun 1, 2021

Ok but WHY?

@wyzdot
Copy link
Contributor Author

wyzdot commented Jun 1, 2021

确实用处不大... 是因为我在路由器和PC上使用同一份配置文件所以方便一点

    "locals": [
        {
            "disabled": true,
            "protocol": "redir",
            "local_address": "0.0.0.0",
            "local_port": 1234,
            "mode": "tcp_only",
            "tcp-redir": "redirect"
        },
        {
            "protocol": "socks",
            "local_address": "127.0.0.1",
            "local_port": 1080,
            "mode": "tcp_only"
        },
        {
            "protocol": "http",
            "local_address": "127.0.0.1",
            "local_port": 8080
        },
        {
            "protocol": "tunnel",
            "local_address": "127.0.0.1",
            "local_port": 5353,
            "forward_address": "8.8.8.8",
            "forward_port": 53,
            "mode": "tcp_only"
        }
    ]

比如这样子...

@zonyitoo zonyitoo merged commit 240353f into shadowsocks:master Jun 1, 2021
@wyzdot wyzdot deleted the disable-opt4locals branch June 2, 2021 07:30
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

Successfully merging this pull request may close these issues.

None yet

2 participants