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

推荐订阅源

N
Netflix TechBlog - Medium
V
Vulnerabilities – Threatpost
Google Online Security Blog
Google Online Security Blog
Hugging Face - Blog
Hugging Face - Blog
L
LINUX DO - 热门话题
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
D
Docker
C
Cyber Attacks, Cyber Crime and Cyber Security
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
T
Tenable Blog
P
Privacy International News Feed
Google DeepMind News
Google DeepMind News
小众软件
小众软件
Cisco Talos Blog
Cisco Talos Blog
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
A
Arctic Wolf
C
Cybersecurity and Infrastructure Security Agency CISA
C
Cisco Blogs
T
Threat Research - Cisco Blogs
NISL@THU
NISL@THU
The Hacker News
The Hacker News
Project Zero
Project Zero
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Threatpost
V
Visual Studio Blog
The GitHub Blog
The GitHub Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
Jina AI
Jina AI
Cyberwarzone
Cyberwarzone
The Register - Security
The Register - Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
Vercel News
Vercel News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
MongoDB | Blog
MongoDB | Blog
U
Unit 42
Scott Helme
Scott Helme
A
About on SuperTechFans
WordPress大学
WordPress大学
F
Fortinet All Blogs
大猫的无限游戏
大猫的无限游戏
G
GRAHAM CLULEY
Latest news
Latest news
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Schneier on Security

Rat's Blog - frp

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

说明:FrpMgr是一个基于Frp的快速配置Web面板,可以一键配置生成客户端的Frp配置文件,远程安装Frp服务到任意一台服务器,让我们在使用配置Frp上方便很多。对于类似这种带Web面板的穿透工具,之前也发过不少,比如npslanproxy等,都挺不错的,有兴趣可以去了解下,这里就介绍下FrpMgr安装及使用。

截图

请输入图片描述
请输入图片描述

更新

【2019年11月21日】
新增远程桌面,ssh内网穿透,本地目录穿透。
【2019年6月27日】
新增状态查看功能,可查看流量、客户端连接数,连接状态等。

安装

Github地址:https://github.com/Zo3i/frpMgr

说明:由于该面板使用的JAVAMysql 5.7,所以512M的内存大部分是跑不起来的,如果内存太小,先加一点虚拟内存,可以使用Swap一键脚本→传送门

1、安装Docker

#CentOS 6
rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum update -y
yum -y install docker-io
service docker start
chkconfig docker on

#CentOS 7、Debian、Ubuntu
curl -sSL https://get.docker.com/ | sh
systemctl start docker
systemctl enable docker

2、安装Docker Compose

curl -L https://github.com/docker/compose/releases/download/1.24.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

3、安装git

#Debian/Ubuntu系统
apt -y install git

#CentOS系统
yum -y install git

4、安装FrpMgr

#拉取源码
git clone https://github.com/Zo3i/frpMgr.git
#构建Mysql镜像
cd frpMgr/web/src/main/docker/final/mysql
docker build -t jo/mysql .
#构建frp并启动镜像
cd ..
chmod +x w.sh
docker-compose up -d

面板访问地址:ip:8999/frp,账号admin,密码12345678,登录成功后在面板修改密码即可。

使用

提示:这里安装面板的服务器是没有给你安装Frp的,你可以在下面服务器配置的时候,填上ip,就可以安装frp了。

1、首先去域名服务商解析一个泛域名(如*.moerats.com)到服务器ip

2、点击左侧FRP服务器配置,域名只需要填主域名,这里默认的服务器端口为22
请输入图片描述
填好后,点击远程安装,输入服务器密码即可,服务器端系统目前支持CentOS 7Debian 8+Ubuntu 16+,且注意防火墙需要打开Web端口。

3、点击左侧FRP客户端配置,填上二级域名(比如rats、后面就不要了),本地端口就可以了。
请输入图片描述
最后点击右侧,下载Win或者Mac配置压缩包即可,Win的话解压出来打开open.bat即可,连接地址为二级域名:Web端口

由于没有Win客户端开机自启,这里博主就额外说下Windows开机自启步骤。

1、新建一个vbs后缀的脚本,比如rats.vbs,脚本代码如下:
set ws=WScript.CreateObject("WScript.Shell")
ws.Run "C:\Users\Desktop\frp\frpc.exe -c C:\Users\Desktop\frp\frpc.ini",0
第二行为frp文件夹路径,不直接具体路径的,打开frp文件夹,左上角就是路径,复制即可

2、使用Win+R、输入shell:startup确认运行,将脚本放进弹出来的文件夹里面即可。

总结

该面板功能什么的目前还是挺简单的,不过对于要求不高的来说,基本可以满足了,如果你要求更高的话,可以试试文章开头介绍的npslanproxy等,最后作者表示会一直维护下去的,并逐渐增加功能,有想法的可以在下面评论,作者也会经常来查看的,然后有心的可以去Github给个Star鼓励下作者就可以了,毕竟Frps管理面板很少见。


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

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

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