[GH-ISSUE #1903] FRPC 部署在WINDOWS7 机器上,可以穿透到局域网的其他linux机器,windows2012的机器穿不过去什么情况? #1508

Closed
opened 2026-05-05 12:57:11 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @rogerhanzhao on GitHub (Jul 15, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1903

FRPS 部署在有公网IP的服务器上,然后FRPC 部署在WINDOWS7 带互联网权限的机器上;
通过公网IP+PORT 方式可以访问跟WINDOWS7 同样局域网的linux服务器上的WEB服务,
同样的配置,却访问不了同样局域网内WINDOWS2012 服务器上的WEB 服务, 提示连接被拒绝,很奇怪,windows2012机器防火墙也关闭了……
远程桌面也连不过去,从WINDOWS7 机器上市可以远程过去的!

什么原因?

Originally created by @rogerhanzhao on GitHub (Jul 15, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1903 FRPS 部署在有公网IP的服务器上,然后FRPC 部署在WINDOWS7 带互联网权限的机器上; 通过公网IP+PORT 方式可以访问跟WINDOWS7 同样局域网的linux服务器上的WEB服务, 同样的配置,却访问不了同样局域网内WINDOWS2012 服务器上的WEB 服务, 提示连接被拒绝,很奇怪,windows2012机器防火墙也关闭了…… 远程桌面也连不过去,从WINDOWS7 机器上市可以远程过去的! 什么原因?
Author
Owner

@rogerhanzhao commented on GitHub (Jul 15, 2020):

[common]
server_addr = xxx.xxx.xxx.xxx
server_port = 8990
token = xxxxxxxxxx

[ssh]
type = tcp
local_ip = 192.168.208.14
local_port = 80
remote_port = 9996
[ssh]
type = tcp
local_ip = 192.168.208.23
local_port = 80
remote_port = 9997
[ssh]
type = tcp
local_ip = 192.168.208.23
local_port = 3389
remote_port = 9998
[ssh]
type = tcp
local_ip = 192.168.208.20
local_port = 3389
remote_port = 9995
[ssh]
type = tcp
local_ip = 192.168.208.20
local_port = 80
remote_port = 8999

只有最有一条能用,是为啥?

<!-- gh-comment-id:658613795 --> @rogerhanzhao commented on GitHub (Jul 15, 2020): [common] server_addr = xxx.xxx.xxx.xxx server_port = 8990 token = xxxxxxxxxx [ssh] type = tcp local_ip = 192.168.208.14 local_port = 80 remote_port = 9996 [ssh] type = tcp local_ip = 192.168.208.23 local_port = 80 remote_port = 9997 [ssh] type = tcp local_ip = 192.168.208.23 local_port = 3389 remote_port = 9998 [ssh] type = tcp local_ip = 192.168.208.20 local_port = 3389 remote_port = 9995 [ssh] type = tcp local_ip = 192.168.208.20 local_port = 80 remote_port = 8999 只有最有一条能用,是为啥?
Author
Owner

@rogerhanzhao commented on GitHub (Jul 15, 2020):

哈哈,找到原因了!

<!-- gh-comment-id:658673054 --> @rogerhanzhao commented on GitHub (Jul 15, 2020): 哈哈,找到原因了!
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#1508
No description provided.