mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #73] 多vps情况,如何随意选择使用哪个? #37
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rainsun007 on GitHub (May 7, 2018).
Original GitHub issue: https://github.com/snail007/goproxy/issues/73
@snail007 请教个问题
场景:
有5个vps, 想同时代理同一台机器的电脑(比如自己的笔记本),需要随意指定使用哪个代理,5个代理必须同时启动
看了个文档 , 没找到说明, 不知这个场景是否支持,应如何操作
@snail007 commented on GitHub (May 7, 2018):
这种情况可以配合haproxy的tcp代理你的五个vps,haproxy暴露一个端口给你的笔记本。
@rainsun007 commented on GitHub (May 7, 2018):
用haproxy是做了高可用 想随意调用代理的问题还在 想了一下 是否可以启动5个代理 设置5个不同的本地端口号 然后在选择使用代理时通过使用不同的端口号来操作
@snail007 commented on GitHub (May 7, 2018):
那就是二级代理模式了,完全可以的。
@rainsun007 commented on GitHub (May 8, 2018):
多谢 我搞下试试 搞不定再来请教
@rainsun007 commented on GitHub (May 8, 2018):
@snail007 代理的问题可以解决 为了安全隐藏真实ip 需要高匿代理 这个现在支持吗
@snail007 commented on GitHub (May 8, 2018):
纯转发,本来就是高匿名
@wwu commented on GitHub (May 9, 2018):
请问haproxy的心跳检查应该如何设置? 我尝试直接tcp ping vps代理端口(比如38080), 但是心跳包报错.
@snail007 commented on GitHub (May 10, 2018):
haproxy怎么检查的没研究,你可以自行搜索。
@wwu commented on GitHub (May 10, 2018):
不知道proxy这边有没有暴露一个类似echo或者ping的端口, 这样可以给haproxy心跳检查用.
@snail007 commented on GitHub (May 10, 2018):
ping是ICMP协议 不是TCP
@snail007 commented on GitHub (Sep 7, 2018):
v6.0多个上级支持负载均衡高可用。
@wwu commented on GitHub (Sep 8, 2018):
多谢 ,问题已解决。