[GH-ISSUE #3640] http_proxy 代理请求网站提示连接已重置 #2906

Closed
opened 2026-05-05 13:52:40 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @Hhpon on GitHub (Oct 3, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3640

Bug Description

背景: 我们学校的一些网站只有校园内网可以访问,我现在经常不在学校,所以有的时候希望浏览一些资源的时候不是很方便。
解法:使用http_proxy转发http请求;网站A即是只有内网可以访问的网站,我在frpc运行的机器上访问网站A时可以访问,使用代理连接的机器上访问网站A就会提示连接已重置。

frpc Version

0.51.3

frps Version

0.38.0

System Architecture

ubuntu/amd64, windows/amd64

Configurations

[common]
server_addr = xx.xx.xx.xx
server_port = 7000
log_file = logs/http_proxy.log
log_level = info
log_max_days = 3
protocol = tcp
login_fail_exit = false
tcp_mux = true
tls_enable = true

[X6sZX9Rj]
type = tcp
group = http_proxy
group_key = web
local_ip = 127.0.0.1
plugin = http_proxy
health_check_type = tcp
health_check_timeout_s = 3
health_check_max_failed = 3
health_check_interval_s = 10
remote_port = 6001

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @Hhpon on GitHub (Oct 3, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3640 ### Bug Description 背景: 我们学校的一些网站只有校园内网可以访问,我现在经常不在学校,所以有的时候希望浏览一些资源的时候不是很方便。 解法:使用http_proxy转发http请求;网站A即是只有内网可以访问的网站,我在frpc运行的机器上访问网站A时可以访问,使用代理连接的机器上访问网站A就会提示连接已重置。 ### frpc Version 0.51.3 ### frps Version 0.38.0 ### System Architecture ubuntu/amd64, windows/amd64 ### Configurations [common] server_addr = xx.xx.xx.xx server_port = 7000 log_file = logs/http_proxy.log log_level = info log_max_days = 3 protocol = tcp login_fail_exit = false tcp_mux = true tls_enable = true [X6sZX9Rj] type = tcp group = http_proxy group_key = web local_ip = 127.0.0.1 plugin = http_proxy health_check_type = tcp health_check_timeout_s = 3 health_check_max_failed = 3 health_check_interval_s = 10 remote_port = 6001 ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:52:40 -06:00
Author
Owner

@xqzr commented on GitHub (Oct 11, 2023):

被发现了

<!-- gh-comment-id:1756990492 --> @xqzr commented on GitHub (Oct 11, 2023): ~~被发现了~~
Author
Owner

@Hhpon commented on GitHub (Oct 12, 2023):

被发现了

所以有什么办法解决不?

<!-- gh-comment-id:1758820096 --> @Hhpon commented on GitHub (Oct 12, 2023): > ~被发现了~ 所以有什么办法解决不?
Author
Owner

@github-actions[bot] commented on GitHub (Nov 12, 2023):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1806958672 --> @github-actions[bot] commented on GitHub (Nov 12, 2023): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2906
No description provided.