feat(protonvpn): port forwarding support with NAT-PMP (#1543)
Co-authored-by: Nicholas Xavier <nicho@nicho.dev>
This commit is contained in:
@@ -34,8 +34,8 @@ func (l *Loop) Run(ctx context.Context, done chan<- struct{}) {
|
||||
portCh <- port
|
||||
|
||||
// Infinite loop
|
||||
err = startData.PortForwarder.KeepPortForward(ctx,
|
||||
startData.Gateway, startData.ServerName)
|
||||
err = startData.PortForwarder.KeepPortForward(ctx, port,
|
||||
startData.Gateway, startData.ServerName, l.logger)
|
||||
errorCh <- err
|
||||
}(pfCtx, startData)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user