tstest/integration/nat: crank up verbosity of a failing test

Updates #13038

Change-Id: I36cde97b74e4a675b6c0f3be30f817bccdbe8715
This commit is contained in:
Brad Fitzpatrick 2024-08-13 12:23:44 -07:00 committed by Brad Fitzpatrick
parent b60a9fce4b
commit eae6a00651
1 changed files with 14 additions and 1 deletions

View File

@ -145,7 +145,20 @@ func easyPMP(c *vnet.Config) *vnet.Node {
// easy + port mapping + host firewall
func easyPMPFW(c *vnet.Config) *vnet.Node {
n := c.NumNodes() + 1
return c.AddNode(vnet.HostFirewall,
return c.AddNode(
vnet.HostFirewall,
vnet.TailscaledEnv{
Key: "TS_DEBUG_RAW_DISCO",
Value: "1",
},
vnet.TailscaledEnv{
Key: "TS_DEBUG_DISCO",
Value: "1",
},
vnet.TailscaledEnv{
Key: "TS_LOG_VERBOSITY",
Value: "2",
},
c.AddNetwork(
fmt.Sprintf("2.%d.%d.%d", n, n, n), // public IP
fmt.Sprintf("192.168.%d.1/24", n), vnet.EasyNAT, vnet.NATPMP))