爱科技 爱生活

内网穿透frps安装及openwrt客户端设置

1.公网vps一台,我用的谷歌云香港实例

2.申请域名做好解析到香港实例

3.安装frps

一键安装脚本,项目地址:https://github.com/clangcn/onekey-install-shell/

Install

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

安装完毕后记录以下重要内容(绿色部分)

服务器端安装完毕,其他卸载、升级及管理命令如下:

Config

 ./install-frps.sh config

Uninstall

./install-frps.sh uninstall

Update

./install-frps.sh update

Manage

Usage: /etc/init.d/frps {start|stop|restart|status|config|version}

4.openwrt中客户端设置

在openwrt中填入上面记录的内容,然后启动服务

接下来点击上图中的添加按钮进行域名和端口设置,然后保存并应用

5.成功!通过域名访问你的内网openwrt

赞(2) 打赏

评论 抢沙发

iTechh

EMAILQQ

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏