mirror of
https://codeberg.org/YGGverse/psocks.git
synced 2026-03-31 16:35:28 +00:00
update api cmd example
This commit is contained in:
parent
30a77072ed
commit
0b6b0ebd0e
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@ RUST_LOG=psocks=trace cargo run -- -a=/path/to/allow1.txt \
|
||||||
```
|
```
|
||||||
* set `socks5://127.0.0.1:1080` proxy in your application
|
* set `socks5://127.0.0.1:1080` proxy in your application
|
||||||
* open http://127.0.0.1:8010 in browser for global stats:
|
* open http://127.0.0.1:8010 in browser for global stats:
|
||||||
* http://127.0.0.1:8010/allow/domain.com - add rule to the current session
|
* `/allow/domain.com` - add rule to the current session
|
||||||
* http://127.0.0.1:8010/block/domain.com - delete rule from the current session
|
* `/block/domain.com` - delete rule from the current session
|
||||||
|
|
||||||
### Allow list example
|
### Allow list example
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue