frp一键安装指令

远梦 827 0

首先感谢原作者以及一键脚本作者的成果,附上相关原始页面,大家可去看看,以下为摘取的关键命令,方便新手朋友复制安装!

FRP原作者页面:https://github.com/fatedier/frp
KoolShare-FRP一键脚本:https://github.com/clangcn/onekey-install-shell
脚本适用于安装平台:CentOS、Debian、Ubuntu~

FRP服务端一键安装脚本:

wget --no-check-certificate https://raw.githubusercontent.com/clangcn/onekey-install-shell/master/frps/install-frps.sh -O ./install-frps.sh
chmod 700 ./install-frps.sh
./install-frps.sh install

常用命令

卸载命令:
./install-frps.sh uninstall

更新FRP命令:
./install-frps.sh update

开启FRP
frps start

停止FRP:
Frps stop

重启FRP
frps restart

客户端FRPC配置文本:

使用时请删除中文注释
[common]
server_addr = nas.frpxx.com
server_port = 7000 # 服务器提供的端口号
token = dgegiiVu # 服务器提供的token

[web1_xxxxx] # 为避免错误,一定需更改为比较特殊的名称,不能和服务器端其他配置重名.或者默认xxxxxx
type = http # http协议
local_ip = 192.168.1.5 # 填写群晖内网IP.
local_port = 5000 # 群晖内网HTTP端口,默认为5000.
custom_domains = nas.ioiox.com # 填写你解析到服务器的域名

[web2_xxxxxx] # 为避免错误,一定需更改为比较特殊的名称,不能和服务器端其他配置重名.
type = https # https协议
local_ip = 192.168.1.5 # 填写群晖内网IP.
local_port = 5001 # 群晖内网HTTPS端口,默认为5001.
custom_domains = nas.frpsxx.com # 填写你解析到服务器的域名

启动Windows客户端

下载frp客户端
CD到frp目录下执行以下命令
frpc.exe -c ./frpc.ini
挖个坑在这里 有空在整理 安装教程

发表评论 取消回复
表情 图片 链接 代码

分享