Windows使用frp内网穿透实现远程桌面连接

不细说,基本配置百度上有,放三个文件代码

一、服务端frps.ini文件代码

[common]
#服务器端端口
bind_port=7000
#客户端连接凭证
privilege_token=password
#最大连接数
max_pool_count=10
#服务器看板的访问端口
dashboard_port=7500
#服务器看板账户
dashboard_user=username
dashboard_pwd=password 

[rdp]
rdp_port = 3389
custom_domains = www.your.domin

二、客户端frpc.ini文件代码

[common]
server_addr = ip_or_www.your.domin
server_port = 7000
privilege_token = password

[rdp]
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 3389

三、开机自启
将下面代码保存为bat文件,放进启动文件夹
D:/develop/frp替换为你的frpc存放路径

start cmd /k "cd/d D:\develop\frp &&frpc.exe -c frpc.ini "
Last modification:March 26th, 2019 at 12:06 pm
If you think my article is useful to you, please feel free to appreciate

Warning: preg_match_all() expects parameter 2 to be string, array given in /www/wwwroot/www.huing.cn/usr/plugins/ShortLinks/Plugin.php on line 104

Notice: Undefined variable: val in /www/wwwroot/www.huing.cn/usr/plugins/ShortLinks/Plugin.php on line 115

One comment

  1. 文娱帝国

    写的很好,很喜欢

Leave a Comment