feat(pia): port forwarding options VPN_PORT_FORWARDING_USERNAME and VPN_PORT_FORWARDING_PASSWORD
- Retro-compatible with `OPENVPN_USER` + `OPENVPN_PASSWORD` - No more reading for the OpenVPN auth file - Allow to use PIA port forwarding with Wireguard
This commit is contained in:
@@ -12,6 +12,8 @@ type tunnelUpData struct {
|
||||
vpnIntf string
|
||||
serverName string // used for PIA
|
||||
canPortForward bool // used for PIA
|
||||
username string // used for PIA
|
||||
password string // used for PIA
|
||||
portForwarder PortForwarder
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user