Coder Social home page Coder Social logo

rpi-ocserv's Introduction

rpi-ocserv

ocserv on raspberrypi

environment variables

BCPort -> UDP broadcast port

server_addr -> frp server_addr

server_port -> frp server_port

privilege_token -> frp privilege_token

Use:

Start frps on windows:

open https://github.com/ilanyu/rpi-ocserv then download frps.exe and frps_full.ini

frps.exe -c frps_full.ini

If you need other version, you can get from https://github.com/fatedier/frp/releases/tag/v0.16.0

Get the docker image:

docker pull ilanyu/rpi-ocserv

Start an ocserv instance:

docker run --restart=always --name ocserv --privileged -p 4443:4443 -p 4443:4443/udp -e "BCPort=3801" -e "server_addr=192.168.123.11" -e "privilege_token=12345678" -e "login_fail_exit=false" -e "TZ=Asia/Chongqing" -d ilanyu/rpi-ocserv

Add user:

docker exec -ti ocserv ocpasswd -c /etc/ocserv/ocpasswd

Delete user:

docker exec -ti ocserv ocpasswd -c /etc/ocserv/ocpasswd -d test

rpi-ocserv's People

Contributors

ilanyu avatar

Watchers

无常 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.