[GH-ISSUE #3690] frp代理NAS:该网页无法正常运作 #2937

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

Originally created by @mesakas on GitHub (Oct 17, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3690

Bug Description

frp代理NAS:该网页无法正常运作,报502

frpc Version

0.51.3

frps Version

0.51.3

System Architecture

ubuntu 20.04

Configurations

frpc.ini:

[common]
server_addr = xxx.xxx.xxx.xxx
server_port = 7000
token = xxxxxx

[ssh_nas]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 60022



[DMS]
type = tcp
local_ip = 127.0.0.1
local_port = 5000
remote_port = 55000

我代理了我的Nas,但是我用浏览器来访问Nas报502错误,请问是因为什么原因?

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 @mesakas on GitHub (Oct 17, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3690 ### Bug Description frp代理NAS:该网页无法正常运作,报502 ### frpc Version 0.51.3 ### frps Version 0.51.3 ### System Architecture ubuntu 20.04 ### Configurations frpc.ini: ``` [common] server_addr = xxx.xxx.xxx.xxx server_port = 7000 token = xxxxxx [ssh_nas] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 60022 [DMS] type = tcp local_ip = 127.0.0.1 local_port = 5000 remote_port = 55000 ``` 我代理了我的Nas,但是我用浏览器来访问Nas报502错误,请问是因为什么原因? ### 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
Author
Owner

@wuai1024 commented on GitHub (Oct 17, 2023):

local_ip 错了

<!-- gh-comment-id:1766611941 --> @wuai1024 commented on GitHub (Oct 17, 2023): `local_ip` 错了
Author
Owner

@flash91120 commented on GitHub (Nov 2, 2023):

同问

<!-- gh-comment-id:1790286072 --> @flash91120 commented on GitHub (Nov 2, 2023): 同问
Author
Owner

@Greaki commented on GitHub (May 30, 2025):

一般是云服务器端口没有放行的原因。
顺便一提,如果是装了宝塔面板的云服务,除了需要在云服务器放行端口外,还需要同时在宝塔面板上一并放行一下端口。

<!-- gh-comment-id:2920997040 --> @Greaki commented on GitHub (May 30, 2025): 一般是云服务器端口没有放行的原因。 顺便一提,如果是装了宝塔面板的云服务,除了需要在云服务器放行端口外,还需要同时在宝塔面板上一并放行一下端口。
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#2937
No description provided.