Episode 20: NetBird vs Headscale mesh VPN measurements
This commit is contained in:
parent
145d318452
commit
4c75f859d6
35 changed files with 5056 additions and 0 deletions
32
mesh/measurements/51-netbird-acl.txt
Normal file
32
mesh/measurements/51-netbird-acl.txt
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# 51 NetBird: Voreinstellung und Regel 'A darf B nur auf TCP 22'
|
||||
# A = peer-a 100.126.222.251 (sshd 22, iperf3 5201), B = peer-b 100.126.10.177 (sshd 22, iperf3 5201)
|
||||
|
||||
## Voreinstellung: Richtlinie 'Default' (vom Installer angelegt)
|
||||
$ GET /api/policies
|
||||
{"name":"Default","enabled":true,"rules":[{"bidirectional":true,"protocol":"all","ports":null,"action":"accept","sources":["All"],"destinations":["All"]}]}
|
||||
## 12:36:43 von peer-a nach 100.126.10.177
|
||||
ping erreichbar
|
||||
tcp/22 erreichbar
|
||||
tcp/5201 erreichbar
|
||||
## 12:36:45 von peer-b nach 100.126.222.251
|
||||
ping erreichbar
|
||||
tcp/22 erreichbar
|
||||
tcp/5201 erreichbar
|
||||
|
||||
## Regel setzen per API (wie im Dashboard unter Access Control)
|
||||
$ POST /api/groups {"name":"peer-a",...} ; POST /api/groups {"name":"peer-b",...}
|
||||
$ POST /api/policies peer-a -> peer-b, TCP 22, nicht bidirektional (12:36:59) [Mac-Uhr, nur Sekunden]
|
||||
{"name":"A to B ssh only","enabled":true}
|
||||
$ PUT /api/policies/<Default> enabled=false (12:36:59) [Mac-Uhr, nur Sekunden]
|
||||
{"name":"Default","enabled":false}
|
||||
Regel aktiv ab 12:37:00 (Mac-Uhr, nur Sekunden)
|
||||
tcp/5201 geblockt ab 12:37:02.306
|
||||
## 12:37:08 von peer-a nach 100.126.10.177
|
||||
ping GEBLOCKT
|
||||
tcp/22 erreichbar
|
||||
tcp/5201 GEBLOCKT
|
||||
## 12:37:14 von peer-b nach 100.126.222.251
|
||||
ping GEBLOCKT
|
||||
tcp/22 GEBLOCKT
|
||||
tcp/5201 GEBLOCKT
|
||||
# Befund: NetBird blockt bei 'nur TCP 22' auch ICMP (anders als der Tailscale-Client, measurements/50). Gegenrichtung B -> A komplett zu (Regel nicht bidirektional).
|
||||
Loading…
Add table
Add a link
Reference in a new issue