small edits

master
vaninpetr 3 years ago
parent c1cd2394f2
commit 29b12b6b26
  1. 18
      README.md
  2. 2
      proxy-server.sh

@ -2,3 +2,21 @@
## 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 )
#### 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
```

@ -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

Loading…
Cancel
Save