Giter VIP home page Giter VIP logo

frp-deploy's Introduction

frp

Fastly install and deploy Frp server and client.

Prerequisite

Depends on start-stop-daemon or daemonize to damonize frp processes.

For systemd based distribution, use systemd service to deploy frp.

Otherwise use init script to deploy frp.

  • For debian based distribution, start-stop-daemon is used to run frp which commonly installed with distribution, or you can just install it with apt.

  • For centos6, you have to install the daemonize to run frp. (daemonize is also available for debian based distributions).

    yum install --enablerepo=extras install epel-release -y
    yum install daemonize -y

Server

First edit frps/frps.ini.

You must change the auth token to an more complex one.

# auth token
token = 12345678

Install and run the server.

./install.sh frps

You can manage the frps process by systemctl or service.

Client

First edit frpc/frpc.ini.

Set the server address and auth token at least.

[common]
server_addr = xxx.xxx.xxx.xxx
server_port = 7000
token = tokenstring

Install and run the client.

./install.sh frpc

You can manage the frpc process by systemctl or service.

frp-deploy's People

Contributors

wqyjh avatar

Stargazers

Marcus Maestri avatar  avatar Lewis Zhang avatar ZHANG Xinyi avatar  avatar

Watchers

James Cloos avatar  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.