mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-21 06:19:08 +00:00
Update README example
973f7225e8
changed the CLI. Reflect that
change in the README example.
This commit is contained in:
parent
f6b4369fba
commit
072701c379
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ sudo ip route add "$PROXY_IP" $(ip route | grep '^default' | cut -d ' ' -f 2-)
|
||||||
sudo ip route add 128.0.0.0/1 dev tun0
|
sudo ip route add 128.0.0.0/1 dev tun0
|
||||||
sudo ip route add 0.0.0.0/1 dev tun0
|
sudo ip route add 0.0.0.0/1 dev tun0
|
||||||
|
|
||||||
./target/release/tun2proxy --tun tun0 --socks5 "$PROXY_IP:$PROXY_PORT"
|
./target/release/tun2proxy --tun tun0 --proxy socks5 --addr "$PROXY_IP:$PROXY_PORT"
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that if you paste these commands into a shell script, which you then run with `sudo`, you might want to replace
|
Note that if you paste these commands into a shell script, which you then run with `sudo`, you might want to replace
|
||||||
|
|
Loading…
Add table
Reference in a new issue