ADD : test VPN conf - don't use
This commit is contained in:
parent
ecd84bfb99
commit
68f7e16206
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }: {
|
||||
services.openvpn.servers = {
|
||||
DRI = { config = '' config /home/alexandre/git/nixos-config/hosts/dell-5590/nixpkgs/VPN.conf ''; };
|
||||
};
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
virtualisation.virtualbox.host.enableExtensionPack = true;
|
||||
users.extraGroups.vboxusers.members = [ "alexandre" ];
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
client
|
||||
remote '185.86.178.201' 1194 udp
|
||||
pkcs12 '/home/alexandre/09_DRI/Serveur_VPN_pour_le_SI_DRI_alexandre/Serveur_VPN_pour_le_SI_DRI_alexandre.p12'
|
||||
auth-user-pass
|
||||
cipher AES-256-GCM
|
||||
comp-lzo no
|
||||
dev tun
|
||||
proto udp
|
||||
remote-cert-tls server
|
||||
verify-x509-name 'C=FR, ST=Sarthe, L=Le Mans, O=DRI, emailAddress=support@dri.fr, CN=opn-vpn.si.dri.fr' subject
|
||||
tls-auth '/home/alexandre/09_DRI/Serveur_VPN_pour_le_SI_DRI_alexandre/./Serveur_VPN_pour_le_SI_DRI_alexandre-tls.key' 1
|
||||
nobind
|
||||
auth-nocache
|
||||
script-security 2
|
||||
persist-key
|
||||
persist-tun
|
||||
user nm-openvpn
|
||||
group nm-openvpn
|
Loading…
Reference in New Issue