Files
v2ray_simple/examples/socks5.toml

34 lines
597 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 测试socks 的 dial;
# 另外你可以看到listen、dial和 route的顺序是可以打乱的
# 这样 自己可以方便地 把相关联 的配置 放在一起。
[[listen]]
tag = "my_socks5_1"
protocol = "socks5"
host = "127.0.0.1"
port = 10800
[[dial]]
protocol = "socks5"
tag = "dial1"
host = "127.0.0.1"
port = 10801
[[route]]
fromTag = ["my_socks5_1"]
toTag = "dial1"
[[listen]]
tag = "my_socks5_2"
protocol = "socks5"
host = "127.0.0.1"
port = 10801
[[dial]]
tag = "direct"
protocol = "direct"
[[route]]
fromTag = ["my_socks5_2"]
toTag = "direct"