[GH-ISSUE #120] 能否增加映射指定IP端口的功能 #64

Closed
opened 2026-05-05 11:41:26 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @LoadingZhang on GitHub (Sep 23, 2016).
Original GitHub issue: https://github.com/fatedier/frp/issues/120

如映射192.168.1.10:22。
现在只能映射本机的端口,希望能增加映射其他设备端口的功能。谢谢~

Originally created by @LoadingZhang on GitHub (Sep 23, 2016). Original GitHub issue: https://github.com/fatedier/frp/issues/120 如映射192.168.1.10:22。 现在只能映射本机的端口,希望能增加映射其他设备端口的功能。谢谢~
Author
Owner

@fatedier commented on GitHub (Sep 23, 2016):

这个目前已经支持了,local_ip 可以填任意可访问到的 IP 地址,文档里没有说明,后续补上。

<!-- gh-comment-id:249131565 --> @fatedier commented on GitHub (Sep 23, 2016): 这个目前已经支持了,`local_ip` 可以填任意可访问到的 IP 地址,文档里没有说明,后续补上。
Author
Owner

@LoadingZhang commented on GitHub (Sep 28, 2016):

0.8.1版本已经支持了吗?目前我在 local_port = 里填 X.X.X.X:X 还是 X.X.X.X X 两种格式都会报 local_port error

<!-- gh-comment-id:250070273 --> @LoadingZhang commented on GitHub (Sep 28, 2016): 0.8.1版本已经支持了吗?目前我在 local_port = 里填 X.X.X.X:X 还是 X.X.X.X X 两种格式都会报 local_port error
Author
Owner

@wxyzh commented on GitHub (Sep 28, 2016):

请参考配置示例

[web02]
type = http
local_ip = 127.0.0.1
local_port = 8000

frpc.ini

<!-- gh-comment-id:250071121 --> @wxyzh commented on GitHub (Sep 28, 2016): 请参考配置示例 > [web02] > type = http > local_ip = 127.0.0.1 > local_port = 8000 [frpc.ini](https://github.com/fatedier/frp/blob/master/conf/frpc.ini)
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#64
No description provided.