mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-12 15:22:24 +02:00
feat(protonvpn): use symmetric port forwarding for first port then asymmetric for next ports (#3345)
This commit is contained in:
@@ -88,7 +88,7 @@ func (s *Settings) Validate(forStartup bool) (err error) {
|
||||
return errors.New("password not set")
|
||||
}
|
||||
case providers.Protonvpn:
|
||||
const maxPortsCount = 4
|
||||
const maxPortsCount = 5
|
||||
if s.PortsCount > maxPortsCount {
|
||||
return fmt.Errorf("ports count too high: %d > %d", s.PortsCount, maxPortsCount)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user