socks代理指定ip出口?
我现在有台服务器有多个ip,我想每一ip都匹配一个socks代理,怎么实现呢?最后还是用了v2ray
大概原理就是,同ip进,同ip出
inbound
{ "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" ]}
outbound
{"sendThrough": "1.1.1.1","protocol": "freedom","settings": {"domainStrategy": "UseIP"},"tag": "1111-out"},
Routing
{"type": "field","inboundTag": "1111-in","outboundTag": "1111-out"}, 好像见过这种脚本,是不是美国站群搭游戏线路的的 socks代理软件是那个 看我之前写的文章::lol
https://cikeblog.com/use-docker-to-realize-server-multi-ip-communication.html 可以使用指定用户打开socks5代理软件,然后用iptable指定不同的用户用不同的出口ip
之前搭建过大型代理池,用的这种方法 sendThrough
https://www.v2fly.org/config/outbounds.html 最后还是用v2ray了,研究了我一个小时:'( 试试看看看了,谢谢分享
页:
[1]