«

FRP内网穿透及远程桌面配置

emer 发布于 2020-7-13 16:38   2162 次阅读     


frps:


[common]
bind_port = 7000
dashboard_port = 7500
# dashboard 用户名密码,默认都为 admin
dashboard_user = admin
dashboard_pwd = admin

frpc.ini:
[common]
server_addr = 1.2.3.4
server_port = 7000
admin_addr = 127.0.0.1
admin_port = 7400
admin_user = admin
admin_pwd = admin
tls_enable = true
[RDP]
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 33890


启动客户端服务

在frp 目录中新建文件 frp.vbs

dim objShell 
set objShell=wscript.createObject("WScript.Shell") 
iReturnCode=objShell.Run("C:\WWW\frp\frpc.exe -c C:\WWW\frp\frpc.ini",0,TRUE)