39 lines
2.6 KiB
Text
39 lines
2.6 KiB
Text
# 34 Headscale + Tailscale-Client, UDP zwischen den Peers gesperrt (erzwungenes Relay über DERP)
|
|
# Sperre auf B: iptables -I INPUT -s 203.0.113.10 -p udp -j DROP; iptables -I OUTPUT -d 203.0.113.10 -p udp -j DROP
|
|
# Sperre auf A: iptables -I INPUT -s 198.51.100.40 -p udp -j DROP; iptables -I OUTPUT -d 198.51.100.40 -p udp -j DROP
|
|
Sperre gesetzt 11:16:00
|
|
11:16:00 100.64.0.1 peer-b lab linux active; direct 198.51.100.40:49750, tx 3772364696 rx 12893054752
|
|
11:16:03 100.64.0.1 peer-b lab linux active; relay "nue", tx 3772364696 rx 12893054752
|
|
pong from peer-b (100.64.0.1) via DERP(nue) in 29ms
|
|
pong from peer-b (100.64.0.1) via DERP(nue) in 29ms
|
|
pong from peer-b (100.64.0.1) via DERP(nue) in 29ms
|
|
direct connection not established
|
|
# perf.sh 100.64.0.1 tailscaled Start 2026-10-24T11:16:07Z Host peer-a
|
|
$ ping -c 100 -i 0.2 100.64.0.1
|
|
--- 100.64.0.1 ping statistics ---
|
|
100 packets transmitted, 100 received, 0% packet loss, time 19868ms
|
|
rtt min/avg/max/mdev = 28.214/29.601/35.921/0.967 ms
|
|
$ iperf3 -c 100.64.0.1 -t 20 (Lauf 1, 11:16:27)
|
|
[ 5] 0.00-20.00 sec 54.6 MBytes 22.9 Mbits/sec 25 sender
|
|
[ 5] 0.00-20.08 sec 54.1 MBytes 22.6 Mbits/sec receiver
|
|
$ iperf3 -c 100.64.0.1 -t 20 (Lauf 2, 11:16:49)
|
|
[ 5] 0.00-20.00 sec 55.0 MBytes 23.1 Mbits/sec 129 sender
|
|
[ 5] 0.00-20.07 sec 54.2 MBytes 22.7 Mbits/sec receiver
|
|
$ iperf3 -c 100.64.0.1 -t 20 (Lauf 3, 11:17:11)
|
|
[ 5] 0.00-20.00 sec 34.4 MBytes 14.4 Mbits/sec 154 sender
|
|
[ 5] 0.00-20.03 sec 34.2 MBytes 14.3 Mbits/sec receiver
|
|
$ iperf3 -c 100.64.0.1 -t 20 -R (Lauf 1, 11:17:34)
|
|
[ 5] 0.00-20.03 sec 57.0 MBytes 23.9 Mbits/sec 33 sender
|
|
[ 5] 0.00-20.00 sec 54.0 MBytes 22.6 Mbits/sec receiver
|
|
$ iperf3 -c 100.64.0.1 -t 20 -R (Lauf 2, 11:17:57)
|
|
[ 5] 0.00-20.03 sec 56.9 MBytes 23.8 Mbits/sec 3 sender
|
|
[ 5] 0.00-20.00 sec 54.2 MBytes 22.8 Mbits/sec receiver
|
|
$ iperf3 -c 100.64.0.1 -t 20 -R (Lauf 3, 11:18:20)
|
|
[ 5] 0.00-20.03 sec 55.8 MBytes 23.3 Mbits/sec 242 sender
|
|
[ 5] 0.00-20.00 sec 53.9 MBytes 22.6 Mbits/sec receiver
|
|
# pidstat tailscaled (pid 2073438) alle 2 s auf peer-a: Mittel/Max %CPU (von 100 % je Kern), RSS
|
|
Proben 76 CPU mittel 18.6 % CPU max 34.5 % RSS start 57008 KiB RSS max 59280 KiB
|
|
# sar -u alle 2 s, ganzes System peer-a (4 Kerne): Mittel/Max belegte CPU in %
|
|
Proben 77 System-CPU mittel 5.5 % max 10.4 %
|
|
# Ende 2026-10-24T11:18:42Z
|
|
100.64.0.1 peer-b lab linux active; relay "nue", tx 3942051776 rx 13088227768
|