mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
34 lines
597 B
TOML
34 lines
597 B
TOML
# 测试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" |