From 04a0555101cfedc81d6bbc984dd8dd116738aa4a Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:22:27 +0800 Subject: [PATCH] test scripts issues --- scripts/iperf3.sh | 2 +- scripts/rperf.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/iperf3.sh b/scripts/iperf3.sh index f491072..f5b388b 100755 --- a/scripts/iperf3.sh +++ b/scripts/iperf3.sh @@ -39,7 +39,7 @@ sleep 1 ip tuntap add name tun0 mode tun ip link set tun0 up ip route add 10.0.0.4 dev tun0 -"$tun2proxy" --proxy socks5://10.0.0.3:10800 -v off & +"$tun2proxy" --tun tun0 --proxy socks5://10.0.0.3:10800 -v off & sleep 3 diff --git a/scripts/rperf.sh b/scripts/rperf.sh index 1f06986..00b43a3 100755 --- a/scripts/rperf.sh +++ b/scripts/rperf.sh @@ -60,7 +60,7 @@ sleep 1 ip tuntap add name tun0 mode tun ip link set tun0 up ip route add 10.0.0.4 dev tun0 -"$tun2proxy" --proxy socks5://10.0.0.3:10800 -v off & +"$tun2proxy" --tun tun0 --proxy socks5://10.0.0.3:10800 -v off & sleep 3