fix(protonvpn): set natpmp external port to 1

This commit is contained in:
Quentin McGaw
2023-10-06 16:09:05 +00:00
parent d4df87286e
commit ee413f59a2

View File

@@ -27,7 +27,7 @@ func (p *Provider) PortForward(ctx context.Context, objects utils.PortForwardObj
logger := objects.Logger
logger.Info("gateway external IPv4 address is " + externalIPv4Address.String())
const internalPort, externalPort = 0, 0
const internalPort, externalPort = 0, 1
const lifetime = 60 * time.Second
_, _, assignedUDPExternalPort, assignedLifetime, err :=