全球主机交流论坛
标题:
【已解决】socks代理指定ip出口?
[打印本页]
作者:
asdii
时间:
2022-3-29 21:02
标题:
【已解决】socks代理指定ip出口?
本帖最后由 asdii 于 2022-3-29 22:54 编辑
我现在有台服务器有多个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"
},
复制代码
作者:
hxcsu
时间:
2022-3-29 21:04
好像见过这种脚本,是不是美国站群搭游戏线路的的
作者:
zxxx
时间:
2022-3-29 21:05
socks代理软件是那个
作者:
cicvc
时间:
2022-3-29 21:07
看我之前写的文章:
https://cikeblog.com/use-docker-to-realize-server-multi-ip-communication.html
复制代码
作者:
bfrpye
时间:
2022-3-29 21:08
可以使用指定用户打开socks5代理软件,然后用iptable指定不同的用户用不同的出口ip
之前搭建过大型代理池,用的这种方法
作者:
这是最好的年代
时间:
2022-3-29 21:13
sendThrough
https://www.v2fly.org/config/outbounds.html
作者:
kyc
时间:
2022-3-29 21:19
提示:
作者被禁止或删除 内容自动屏蔽
作者:
asdii
时间:
2022-3-29 22:53
这是最好的年代 发表于 2022-3-29 21:13
sendThrough
https://www.v2fly.org/config/outbounds.html
最后还是用v2ray了,研究了我一个小时
作者:
hcyme
时间:
2022-3-29 23:12
试试看看看了,谢谢分享
欢迎光临 全球主机交流论坛 (https://loc.imgfree.eu.org/)
Powered by Discuz! X3.4