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