tstest/natlab/vnet: add easyAF

Endpoint-indepedent Mapping with only Address (but not port) dependent
filtering.

Updates #13038

Change-Id: I1ec88301acafcb79bf878f9600a7286e8af0f173
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2024-08-08 20:58:24 -07:00
committed by Maisem Ali
parent d4cc074187
commit 44d634395b
3 changed files with 119 additions and 4 deletions

View File

@@ -15,7 +15,8 @@ import (
const (
One2OneNAT NAT = "one2one"
EasyNAT NAT = "easy"
EasyNAT NAT = "easy" // address+port filtering
EasyAFNAT NAT = "easyaf" // address filtering (not port)
HardNAT NAT = "hard"
)