当前位置:   article > 正文

openwrt内网穿透教程_openwrt安装内穿穿透frp

openwrt安装内穿穿透frp

1、给路由器刷openwrt固件,然后给路由器安装frpc客户端,op固件地址https://github.com/sirpdboy/openwrt#%E5%9B%BA%E4%BB%B6%E4%B8%8B%E8%BD%BD

2、给openwrt路由器刷入Frpc

Frpc下载https://github.com/kuoruan/openwrt-frp/releases

luci-app-frpc和汉化包下载https://github.com/kuoruan/luci-app-frpc/releases

查看CPU架构

cat /etc/os-release |grep ARCH

3、服务器端Frp开源项目地址https://github.com/fatedier/frp

Frp一键安装脚本https://github.com/MvsCode/frps-onekey?tab=readme-ov-file

也可以直接用下面这个

  1. wget https://gitee.com/mvscode/frps-onekey/raw/master/install-frps.sh -O ./install-frps.sh
  2. chmod 700 ./install-frps.sh
  3. ./install-frps.sh install

设置后台运行

nohup ./frps -c frps.ini >/dev/null 2>&1 &

4、记得去开防火墙

去相关服务商的控制台开启防火墙,如果你安装了面板类的产品,需要在面板里面也开启防火墙

5、FRP常用命令

  1. 开启FRP:frps start
  2. 停止FRP:frps stop
  3. 重启FRP:frps restart
  4. 打开配置文件:frps config
  5. 查看FRP版本:frps version
  6. 检查FRP运行状态:frps status

感谢开源,连接你我,本文仅用于交流,祝这个世界越来越美好!

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号