mirror of
https://codeberg.org/YGGverse/psocks.git
synced 2026-03-31 08:25:27 +00:00
update readme
This commit is contained in:
parent
e48bfff21d
commit
6cf4b86a90
1 changed files with 8 additions and 2 deletions
10
README.md
10
README.md
|
|
@ -13,10 +13,16 @@ Filtering asynchronous SOCKS5 (TCP/UDP) proxy server based on [fast-socks5](http
|
||||||
* [x] Web JSON/API
|
* [x] Web JSON/API
|
||||||
* [ ] Web UI
|
* [ ] Web UI
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
cargo install psocks
|
||||||
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
RUST_LOG=trace cargo run -- -c=/path/to/config.toml no-auth
|
RUST_LOG=trace psokcs -c=/path/to/config.toml no-auth
|
||||||
```
|
```
|
||||||
* set `socks5://127.0.0.1:1080` proxy in your application
|
* set `socks5://127.0.0.1:1080` proxy in your application
|
||||||
* use http://127.0.0.1:8010 for API:
|
* use http://127.0.0.1:8010 for API:
|
||||||
|
|
@ -43,7 +49,7 @@ duckduckgo.com
|
||||||
### systemd
|
### systemd
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
git clone https://codeberg.org/postscriptum/psocks.git
|
git clone https://codeberg.org/yggverse/psocks.git
|
||||||
cd psocks
|
cd psocks
|
||||||
cargo build --release --locked
|
cargo build --release --locked
|
||||||
sudo install target/release/psocks /usr/local/bin
|
sudo install target/release/psocks /usr/local/bin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue