Giter Site home page Giter Site logo

liyongli1992 / frpc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stilleshan/frpc

0.0 0.0 0.0 25 KB

基于原版 frp 内网穿透客户端 frpc 的一键安装卸载脚本和 docker 镜像.支持群晖NAS,Linux 服务器和 docker 等多种环境安装部署.

Home Page: https://hub.docker.com/r/stilleshan/frpc

Dockerfile 9.76% Shell 90.24%

frpc's Introduction

frpc

项目简介

基于 fatedier/frp 原版 frp 内网穿透客户端 frpc 的一键安装卸载脚本和 docker 镜像.支持群晖NAS,Linux 服务器和 docker 等多种环境安装部署.

使用说明

以下分为四种部署方法,请根据实际情况自行选择:

  • 群晖NAS docker 安装 [支持 docker 的群晖机型首选]
  • 群晖NAS 一键脚本安装 [不支持 docker 的群晖机型]
  • Linux 服务器 一键脚本安装 [内网 Linux 服务器或虚拟机]
  • Linux 服务器 docker 安装 [内网 Linux 服务器或虚拟机]

群晖NAS docker 安装

群晖NAS使用Docker安装配置frpc内网穿透教程

群晖NAS 一键脚本安装

群晖NAS安装配置免费frp内网穿透教程

Linux 服务器 一键脚本安装

安装

wget https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_install.sh && chmod +x frpc_linux_install.sh && ./frpc_linux_install.sh

使用

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

卸载

wget https://raw.githubusercontent.com/stilleshan/frpc/master/frpc_linux_uninstall.sh && chmod +x frpc_linux_uninstall.sh && ./frpc_linux_uninstall.sh

Linux 服务器 docker 安装

为避免因 frpc.ini 文件的挂载,格式或者配置的错误导致容器无法正常运行并循环重启.请确保先配置好 frpc.ini 后在运行启动.

git clone 本仓库,并正确配置 frpc.ini 文件.

git clone https://github.com/stilleshan/frpc.git
# git clone 本仓库
vi /root/frpc/frpc.ini
# 配置 frpc.ini 文件

执行以下命令启动服务

docker run -d --name=frpc --restart=always -v /root/frpc/frpc.ini:/frp/frpc.ini stilleshan/frpc

以上命令 -v 挂载的目录是以 git clone 本仓库为例,也可以在任意位置手动创建 frpc.ini 文件,并修改命令中的挂载路径.

服务运行中修改 frpc.ini 配置后需重启 frpc 服务.

vi /root/frp/frpc.ini
# 修改 frpc.ini 配置
docker restart frpc
# 重启 frpc 容器即可生效

版本更新

  • latest 为最新版
  • Tags 为历史版本

相关链接

更多frp相关信息可参考我的博客

frpc's People

Contributors

stilleshan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.