-
-
Notifications
You must be signed in to change notification settings - Fork 18
add OpenVpnAuthType, OpenVpnConfig, VpnType::OpenVpn #290
Copy link
Copy link
Closed
Labels
featureNew feature or requestNew feature or requestnmrsChanges to nmrsChanges to nmrsvpnChanges to VPN surfaceChanges to VPN surface
Milestone
Description
part of #288. depends on the VpnConfig trait being merged first.
changes
add VpnType::OpenVpn variant (additive, non-breaking).
add OpenVpnAuthType enum:
#[non_exhaustive]
pub enum OpenVpnAuthType {
Password,
Tls,
PasswordTls,
StaticKey,
}add OpenVpnConfig struct with fields for:
name,remote,port,tcpauth_type- credentials:
username,password - certs:
ca_cert,client_cert,client_key,key_password - common:
auth,cipher,dns,mtu,uuid
impl VpnConfig for OpenVpnConfig.
files
api/models/vpn.rslib.rs— re-exports
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestnmrsChanges to nmrsChanges to nmrsvpnChanges to VPN surfaceChanges to VPN surface