No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile add login_fail_exit environment variable Apr 24, 2018
README.md add login_fail_exit environment variable Apr 24, 2018
docker-entrypoint.sh add login_fail_exit environment variable Apr 24, 2018
frpc init Feb 28, 2018
frpc_full.ini init Feb 28, 2018
frps.exe init Feb 28, 2018
frps_full.ini update frps_full.ini Feb 28, 2018
ocserv-script-udp-broadcast-relay.sh init Feb 28, 2018

README.md

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