Update README example

973f7225e8 changed the CLI. Reflect that
change in the README example.
This commit is contained in:
B. Blechschmidt 2023-03-21 00:20:05 +01:00
parent f6b4369fba
commit 072701c379

View file

@ -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