惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
V
Visual Studio Blog
P
Privacy International News Feed
月光博客
月光博客
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
Lohrmann on Cybersecurity
N
News and Events Feed by Topic
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Apple Machine Learning Research
Apple Machine Learning Research
阮一峰的网络日志
阮一峰的网络日志
Webroot Blog
Webroot Blog
T
Threatpost
宝玉的分享
宝玉的分享
The Last Watchdog
The Last Watchdog
小众软件
小众软件
L
LINUX DO - 最新话题
C
Cisco Blogs
T
Troy Hunt's Blog
Schneier on Security
Schneier on Security
酷 壳 – CoolShell
酷 壳 – CoolShell
www.infosecurity-magazine.com
www.infosecurity-magazine.com
雷峰网
雷峰网
G
GRAHAM CLULEY
有赞技术团队
有赞技术团队
Know Your Adversary
Know Your Adversary
博客园 - 叶小钗
罗磊的独立博客
V
V2EX
博客园 - Franky
P
Proofpoint News Feed
SecWiki News
SecWiki News
腾讯CDC
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Jina AI
Jina AI
博客园 - 三生石上(FineUI控件)
S
Secure Thoughts
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Google DeepMind News
Google DeepMind News
Attack and Defense Labs
Attack and Defense Labs
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
PCI Perspectives
PCI Perspectives
V2EX - 技术
V2EX - 技术
Google DeepMind News
Google DeepMind News
Last Week in AI
Last Week in AI
aimingoo的专栏
aimingoo的专栏
Cisco Talos Blog
Cisco Talos Blog
N
News and Events Feed by Topic
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
SegmentFault 最新的问题

Rat's Blog - frp

一款基于Frp的Web管理面板:FrpMgr安装及使用 - Rat's Blog 一款带Web面板的轻量级、高性能内网穿透工具:nps使用教程 - Rat's Blog
Frps一键安装脚本,带Frpc Windows便捷启动脚本 - Rat's Blog
博主: Rat's · 2018-11-18 · via Rat's Blog - frp

说明:Frp估计很多人都用过,一个高性能的内网穿透工具,支持tcpudphttphttps协议,安装和使用教程可以直接查看官方中文文档→传送门,写的超详细。这里博主分享个某大佬写的Frps一键脚本,包括Frpc Windows便捷脚本,使用起来很方便,想快速上手的可以用下。

安装使用

Github地址:https://github.com/dylanbai8/frpspro

系统要求:CentOS 7+Debian 8+

使用命令:

wget -N --no-check-certificate git.io/f.sh && chmod +x f.sh && bash f.sh install

安装完成后,会输出一些参数信息。
请输入图片描述
然后根据所给地址下载Frpc Windows便捷脚本,解压出来,再修改配置文件后,直接开启即可。配置文件参考→官方文档
请输入图片描述
编辑配置文件的时候用记事本编辑可能会出问题,建议使用notepad++或者vscode

常用命令

#一键修改token
bash f.sh token

#一键修改bind_port
bash f.sh bind_port

#一键修改vhost_http_port
bash f.sh vhost_http_port

#一键修改vhost_https_port
bash f.sh vhost_https_port

备用命令

#一键修改dashboard_port
bash f.sh dashboard_port

#一键修改dashboard_user
bash f.sh dashboard_user

#一键修改dashboard_pwd
bash f.sh dashboard_pwd

#一键修改bind_udp_port
bash f.sh bind_udp_port

#一键修改kcp_bind_port
bash f.sh kcp_bind_port

#一键修改subdomain_host(用于泛解析子域名)
bash f.sh subdomain_host

#一键卸载frps
bash f.sh uninstall

注意事项

#一键关闭 apache2、防火墙,释放80端口
bash f.sh unapache2

#注意,除http(s)以外,客户端frpc.ini内任何端口修改时须在以下范围内:
默认端口白名单:2000-3000,3001,3003,4000-50000

#转发远程桌面时,需先在本机开启允许远程协助
我的电脑-右键属性-远程设置

#需要注意frpc所在机器和frps所在机器的时间相差不能超过15分钟

相关教程


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/797/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。