mirror of
https://codeberg.org/YGGverse/psocks.git
synced 2026-03-31 16:35:28 +00:00
update documentation
This commit is contained in:
parent
b5d0742ca7
commit
9a36160c6d
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
|
@ -19,15 +19,15 @@ Experimental async SOCKS5 (TCP/UDP) proxy server based on [fast-socks5](https://
|
|||
## Usage
|
||||
|
||||
``` bash
|
||||
RUST_LOG=trace cargo run -- -a=http://localhost/allow.txt \
|
||||
-a=/path/to/allow.txt \
|
||||
-c=/path/to/cache.txt \
|
||||
RUST_LOG=trace cargo run -- --allow=http://localhost/allow.txt \
|
||||
--allow=/path/to/allow.txt \
|
||||
--cache=/path/to/cache.txt \
|
||||
no-auth
|
||||
```
|
||||
* set `socks5://127.0.0.1:1080` proxy in your application
|
||||
* open http://127.0.0.1:8010 in browser for global stats:
|
||||
* `/allow/domain.com` - add rule to the current session
|
||||
* `/block/domain.com` - delete rule from the current session
|
||||
* open http://127.0.0.1:8010 in browser for stats:
|
||||
* `/allow/domain.com` - add rule to the current session (and `--cache` if defined)
|
||||
* `/block/domain.com` - delete rule from the current session (and `--cache` if defined)
|
||||
|
||||
### Allow list example
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue