[PR #371] [CLOSED] [ADDED] 增加remote_addr 客户端指定监听地址 #4187

Closed
opened 2026-05-05 14:37:18 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/371
Author: @llcxyz
Created: 6/19/2017
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 9e28fd2 [ADDED] 增加remote_addr 客户端指定监听地址

📊 Changes

3 files changed (+21 additions, -4 deletions)

View changed files

📝 models/config/proxy.go (+16 -0)
📝 models/msg/msg.go (+2 -1)
📝 server/proxy.go (+3 -3)

📄 Description

有时作为隧道使用. 不想监听在公网地址. 仅对tcp有效.

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_addr=127.0.0.1 # listen on localhost
remote_port = 7003


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/371 **Author:** [@llcxyz](https://github.com/llcxyz) **Created:** 6/19/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`9e28fd2`](https://github.com/fatedier/frp/commit/9e28fd248c514c47a791cdc3bff79f391717cd76) [ADDED] 增加remote_addr 客户端指定监听地址 ### 📊 Changes **3 files changed** (+21 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `models/config/proxy.go` (+16 -0) 📝 `models/msg/msg.go` (+2 -1) 📝 `server/proxy.go` (+3 -3) </details> ### 📄 Description 有时作为隧道使用. 不想监听在公网地址. 仅对tcp有效. [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_addr=127.0.0.1 # listen on localhost remote_port = 7003 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:37:18 -06:00
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#4187
No description provided.