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

推荐订阅源

P
Proofpoint News Feed
博客园 - 聂微东
Application and Cybersecurity Blog
Application and Cybersecurity Blog
MyScale Blog
MyScale Blog
罗磊的独立博客
H
Help Net Security
L
LangChain Blog
T
Threat Research - Cisco Blogs
量子位
S
Securelist
Last Week in AI
Last Week in AI
L
Lohrmann on Cybersecurity
T
The Exploit Database - CXSecurity.com
P
Privacy International News Feed
The Hacker News
The Hacker News
Vercel News
Vercel News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Blog of Author Tim Ferriss
T
Threatpost
Security Latest
Security Latest
P
Palo Alto Networks Blog
Microsoft Security Blog
Microsoft Security Blog
NISL@THU
NISL@THU
F
Full Disclosure
WordPress大学
WordPress大学
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Heimdal Security Blog
J
Java Code Geeks
Recorded Future
Recorded Future
Hugging Face - Blog
Hugging Face - Blog
G
GRAHAM CLULEY
Know Your Adversary
Know Your Adversary
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
阮一峰的网络日志
阮一峰的网络日志
U
Unit 42
B
Blog RSS Feed
月光博客
月光博客
C
Cisco Blogs
V
Visual Studio Blog
D
DataBreaches.Net
H
Hacker News: Front Page
博客园 - 叶小钗
N
News and Events Feed by Topic
爱范儿
爱范儿
A
Arctic Wolf

思有云 - IOIOX - frp

群晖NAS反向代理 + 内网穿透 = 无需端口访问内网所有服务无需端口 - 思有云 宝塔面板配置 Nginx 和 frps 共存 80/443 端口及泛域名支持教程 - 思有云 群晖NAS高级服务 - WordPress 配置内网穿透无端口访问教程 - 思有云 群晖NAS使用 docker 部署 frps 实现直连内网远程办公 - 思有云 新手入门 - 详解 frp 内网穿透 frpc.ini 配置 - 思有云 配置 Nginx 和 frps 共存 80/443 端口及泛域名支持教程 - 思有云 解决群晖NAS内网穿透后移动端DS File无法连接的问题 - 思有云 - IOIOX 群晖NAS内网穿透各套件独立门户系列教程 - Docker应用 - 思有云 群晖NAS内网穿透各套件独立门户系列教程 - Moments - 思有云
frp 服务器端 frps 一键安装卸载脚本 - 思有云
博主: Stille · 2020-01-24 · via 思有云 - IOIOX - frp

前言

为了方便快速的部署frps以及照顾新手使用,简单写了个一键脚本.可以直接使用,也可以fork到自己仓库配置后使用,方便自行更新版本和调整frps.ini配置.

更详细的手动安装流程可参考:

本文为 Stille 原创文章.经实践,测试,整理发布.如需转载请联系作者获得授权,并注明转载地址.


项目地址

简介

一个简单的frps安装卸载脚本.方便新手快速部署.脚本已设置开机自启动,但具体使用端口需自行开放防火墙.

使用说明

由于frps服务器端需要配置参数,本脚本为原版frps.ini,安装完毕后请自行编辑frps.ini配置端口,密码等相关参数.同时你也可以fork本仓库后自行修改frps.ini,在进行一键安装也非常方便.后期也可以自行调整frps.ini配置和frps的版本.

一键脚本(先运行脚本,在自行修改 frps.ini 文件.)

安装

wget https://raw.githubusercontent.com/stilleshan/frps/master/frps_linux_install.sh && chmod +x frps_linux_install.sh && ./frps_linux_install.sh
# 以下为国内镜像
wget https://github.ioiox.com/stilleshan/frps/raw/branch/master/frps_linux_install.sh && chmod +x frps_linux_install.sh && ./frps_linux_install.sh

使用

vi /usr/local/frp/frps.ini
# 修改 frps.ini 配置
sudo systemctl restart frps
# 重启 frps 服务即可生效

卸载

wget https://raw.githubusercontent.com/stilleshan/frps/master/frps_linux_uninstall.sh && chmod +x frps_linux_uninstall.sh && ./frps_linux_uninstall.sh
# 以下为国内镜像
wget https://github.ioiox.com/stilleshan/frps/raw/branch/master/frps_linux_uninstall.sh && chmod +x frps_linux_uninstall.sh && ./frps_linux_uninstall.sh

自定义一键脚本(先 fork 本仓库,在自行修改 frps.ini 文件后运行脚本.)

  • 首先 fork 本仓库
  • 配置 frps.ini
  • 修改 frps_linux_install.sh 脚本
  • 修改脚本链接
  • Push 仓库到 GitHub

修改 frps_linux_install.sh 脚本

FRP_VERSION="0.30.0" 可根据原版项目更新自行修改为最新版本
REPO="stilleshan/frps" 由于 fork 到你自己的仓库,需修改stilleshan为你的GitHub账号ID.

运行一键脚本

修改以下脚本链接中的stilleshan为你的GitHub账号ID后,运行即可.

wget https://raw.githubusercontent.com/stilleshan/frps/master/frps_linux_install.sh && chmod +x frps_linux_install.sh && ./frps_linux_install.sh

卸载脚本

frps_linux_uninstall.sh 卸载脚本为通用脚本,可直接运行,也可同上方式修改链接后运行.

wget https://raw.githubusercontent.com/stilleshan/frps/master/frps_linux_uninstall.sh && chmod +x frps_linux_uninstall.sh && ./frps_linux_uninstall.sh

frps相关命令

sudo systemctl start frps
# 启动服务 
sudo systemctl enable frps
# 开机自启
sudo systemctl status frps
# 状态查询
sudo systemctl restart frps
# 重启服务
sudo systemctl stop frps
# 停止服务

结语

更多FRP内网穿透相关技巧,教程及信息,请持续关注本站FRP内网穿透专栏:


晚高峰稳定 4K 的 IPLC 机场 解锁各流媒体 支持 ChatGPT. 晚高峰稳定 4K 的 IPLC 机场 解锁各流媒体 支持 ChatGPT. RedteaGO - 最划算的大陆漫游 eSim 流量卡,原生境外 IP,注册就送 3 刀。
RedteaGO - 最划算的大陆漫游 eSim 流量卡,原生境外 IP,注册就送 3 刀。

赞赏作者

如果喜欢我的文章,觉得对你有帮助,请随意赞赏!