Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
NOBLES5E authored Sep 20, 2024
1 parent 245c09d commit e95ff90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ sudo cproxy --port <destination-local-port> --redirect-dns -- <your-program> --a

For an example setup, see [wiki](https://github.com/NOBLES5E/cproxy/wiki/Example-setup-with-V2Ray).

> [!NOTE]
> Scared of `sudo` in the command? Well, that's what we need to have the permission to modify cgroup. But don't worry too much, the program you run will still be run under your original user, not as root. `cproxy` automatically drops privileges after setting up the necessary cgroup configurations, ensuring that your program runs with the same permissions as if you had launched it directly.
### The TPROXY Twist

If your system support `tproxy`, you can use `tproxy` with `--mode tproxy`:
Expand Down

0 comments on commit e95ff90

Please sign in to comment.