前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Frp客户端搭建--windows

Frp客户端搭建--windows

作者头像
背雷管的小青年
发布2020-10-27 17:12:21
2.4K0
发布2020-10-27 17:12:21
举报

2.客户端的搭建(Linux服务器->Windows)

1.下载编译好的frp包

下载地址:https://www.xmaven.cn/usr/uploads/2020/10/3131691451.rar

解压到磁盘更目录下

代码语言:javascript
复制
C:\frp
代码语言:javascript
复制
在这个下面执行CMD命令

Microsoft Windows [版本 10.0.18363.1139]
(c) 2019 Microsoft Corporation。保留所有权利。

C:\Users\17803>cd ..

C:\Users>cd..

C:\>cd frp

C:\frp>winsw4 install
2020-10-17 12:46:39,399 INFO  - Installing the service with id 'YuZhang_Frpc'
Service with id 'YuZhang_Frpc' already exists
To install the service, delete the existing one or change service Id in the configuration file
2020-10-17 12:46:39,404 FATAL - Unhandled exception
System.Exception: Installation failure: Service with id 'YuZhang_Frpc' already exists
   在 winsw.WrapperService.Run(String[] _args, ServiceDescriptor descriptor)
   在 winsw.WrapperService.Main(String[] args)
System.Exception: Installation failure: Service with id 'YuZhang_Frpc' already exists
   在 winsw.WrapperService.Run(String[] _args, ServiceDescriptor descriptor)
   在 winsw.WrapperService.Main(String[] args)

C:\frp>

我已经安装了

然后接下来配置我们的frpc.ini文件

修改成自己的本地需要映射端口和和远程端口,如果需要新建一个其他的映射端口也是一样的复制一份修改名字,和映射端口

如下所示

代码语言:javascript
复制
[common]
server_addr = xx.xx.xx.xx
server_port = 7000
token = xxx

[Sanji-Rdp_7777] 
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 7777


[Sanji-HFS_7776]
type = tcp
local_ip = 127.0.0.1
local_port = 7776
remote_port = 7776

[xxxxx]
type = tcp
local_ip = 127.0.0.1
local_port = xxxx
remote_port =xxxx

远程win需要开启远程桌面,win的远程端口是3389

需要开启远程桌面如下链接

https://jingyan.baidu.com/article/2fb0ba40982a2500f2ec5f37.html

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 2.客户端的搭建(Linux服务器->Windows)
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档