From 072701c3799a5c8487c72d9e775fe7e468c94789 Mon Sep 17 00:00:00 2001 From: "B. Blechschmidt" Date: Tue, 21 Mar 2023 00:20:05 +0100 Subject: [PATCH] Update README example 973f7225e883e32c272b4123590c3d4bcafa74ec changed the CLI. Reflect that change in the README example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f9d6ef0..28818dc 100644 --- a/README.md +++ b/README.md @@ -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 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