mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #135] 增加功能:支持proxy服务以用户名或者访问的端口号来进行分流 #71
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#71
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 @jwlyn on GitHub (Sep 7, 2018).
Original GitHub issue: https://github.com/snail007/goproxy/issues/135
比如我有10根ADSL,我需要8888对应一号adsl, 9999对应2号。。。依此类推。
通过proxy服务绑定本地的某个网卡MAC地址的方式来启动,这样我就可以结合iptables来进行分流。
注意,我从8888端口进来的流量是要精确控制从1号adsl出去的,依此类推, ADSL一旦被重拨号,IP地址就发生了变化
squid也是只能支持绑定ip, 但是adsl拨号的ip是一直会变的。除此之外squid也不支持绑定网卡的MAC。
希望goproxy能有这个功能。
@snail007 commented on GitHub (Sep 7, 2018):
你说的功能十分特殊,目前应用层的程序是做不到绑定网卡的,只能是IP,操作系统也没有提供这样的接口.