From 29b12b6b2611253947bca303ced15cd80e9574ea Mon Sep 17 00:00:00 2001 From: vaninpetr <> Date: Fri, 6 Jan 2023 22:28:27 +0300 Subject: [PATCH] small edits --- README.md | 20 +++++++++++++++++++- proxy-server.sh | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 041782a..0d1ab49 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,22 @@ # RegelaSocks5-proxyserver ## proxy with variable output iface -#### fork of [MaksimSkorobogatov/socks5-server](https://github.com/MaksimSkorobogatov/socks5-server) (and that is fork of [serjs/socks5-server](https://github.com/serjs/socks5-server) from 19 feb `19 ) \ No newline at end of file +#### fork of [MaksimSkorobogatov/socks5-server](https://github.com/MaksimSkorobogatov/socks5-server) (and that is fork of [serjs/socks5-server](https://github.com/serjs/socks5-server) from 19 feb `19 ) + +#### Usage: + + +```bash + ./RegelaSocks5-proxyserver --help +Usage of ./RegelaSocks5-proxyserver_bin (1): + -iface string + run at specific interface + -login string + login name, needs if you are too lazy to creat a file which contains user data (default "q") + -password string + password, please read about login name (default "q") + -port uint + custom port (default 1080) + -users string + a file which include a list of users, in which has set one user per line, every line include USERNAME:PASSWORD separated by colons +``` \ No newline at end of file diff --git a/proxy-server.sh b/proxy-server.sh index 8b5bcbd..6fabfb3 100755 --- a/proxy-server.sh +++ b/proxy-server.sh @@ -6,4 +6,4 @@ userfile=users.list logfile=logs/proxy-server_$(date "+%F_%s").log # cd /usr/local/bin/ -/vz/hostdata/go/bin/RegelaSocks5-proxyserver -port "$1" -users $userfile -iface "$2" # &>> $logfile +RegelaSocks5-proxyserver -port "$1" -users $userfile -iface "$2" # &>> $logfile