Giter Club home page Giter Club logo

fp-multiuser's Introduction

fp-multiuser

frp server plugin to support multiple users for frp.

fp-multiuser will run as one single process and accept HTTP requests from frps.

README | 中文文档

Features

  • Support multiple user authentication by tokens saved in file.

Download

Download fp-multiuser binary file from Release.

Requirements

frp version >= v0.31.0

Usage

  1. Create file tokens including all support usernames and tokens.

    user1=123
    user2=abc
    

    One user each line. Username and token are split by =.

  2. Run fp-multiuser:

    ./fp-multiuser -l 127.0.0.1:7200 -f ./tokens

  3. Register plugin in frps.

    # frps.ini
    [common]
    bind_port = 7000
    
    [plugin.multiuser]
    addr = 127.0.0.1:7200
    path = /handler
    ops = Login
    
  4. Specify username and meta_token in frpc configure file.

    For user1:

    # frpc.ini
    [common]
    server_addr = x.x.x.x
    server_port = 7000
    user = user1
    meta_token = 123
    
    [ssh]
    type = tcp
    local_port = 22
    remote_port = 6000
    

    For user2:

    # frpc.ini
    [common]
    server_addr = x.x.x.x
    server_port = 7000
    user = user2
    meta_token = abc
    
    [ssh]
    type = tcp
    local_port = 22
    remote_port = 6000
    

fp-multiuser's People

Contributors

brvphoenix avatar dependabot[bot] avatar fatedier 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.