feat(privatevpn): native port forwarding support (#2285)
This commit is contained in:
@@ -120,6 +120,9 @@ func (l *Loop) run(runCtx context.Context, runDone chan<- struct{},
|
||||
if updateReceived {
|
||||
// Signal to the Update call that the service has started
|
||||
// and if it failed to start.
|
||||
if err != nil {
|
||||
err = fmt.Errorf("starting port forwarding service: %w", err)
|
||||
}
|
||||
updateResult <- err
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ type Settings struct {
|
||||
Enabled *bool
|
||||
PortForwarder PortForwarder
|
||||
Filepath string
|
||||
Interface string // needed for PIA and ProtonVPN, tun0 for example
|
||||
Interface string // needed for PIA, PrivateVPN and ProtonVPN, tun0 for example
|
||||
ServerName string // needed for PIA
|
||||
CanPortForward bool // needed for PIA
|
||||
ListeningPort uint16
|
||||
|
||||
Reference in New Issue
Block a user