|
本帖最后由 asdii 于 2022-3-29 22:54 编辑
我现在有台服务器有多个ip,我想每一ip都匹配一个socks代理,怎么实现呢?
最后还是用了v2ray
大概原理就是,同ip进,同ip出
inbound
[ol]{ "port": 11111, "listen": "1.1.1.1", "protocol": "socks", "settings": { "auth": "password", "accounts": [ { "user": "user", "pass": "password" } ], "udp": false, "ip": "1.1.1.1", "userLevel": 0 }, "streamSettings": {}, "tag": "1111-in", "domainOverride": [ "http", "tls" ]}[/ol]复制代码
outbound
[ol]{"sendThrough": "1.1.1.1","protocol": "freedom","settings": {"domainStrategy": "UseIP"},"tag": "1111-out"},[/ol]复制代码
Routing
[ol]{"type": "field","inboundTag": "1111-in","outboundTag": "1111-out"},[/ol]复制代码 |
|