|
|
@ -7,15 +7,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
(operating-system
|
|
|
|
(operating-system
|
|
|
|
(inherit %metznet-base-server-system)
|
|
|
|
(inherit %metznet-base-server-system)
|
|
|
|
(host-name "vpn.guix.metznet.ca")
|
|
|
|
(host-name "vpn.metznet.ca")
|
|
|
|
(services
|
|
|
|
(services
|
|
|
|
(append (list (service openvpn-server-service-type
|
|
|
|
(append (list (service openvpn-server-service-type
|
|
|
|
(openvpn-server-configuration
|
|
|
|
(openvpn-server-configuration
|
|
|
|
|
|
|
|
(tls-auth "/etc/openvpn/ta.key")
|
|
|
|
(server "10.0.80.0 255.255.255.0")))
|
|
|
|
(server "10.0.80.0 255.255.255.0")))
|
|
|
|
(service certbot-service-type
|
|
|
|
(service certbot-service-type
|
|
|
|
(certbot-configuration (email "admin@metznet.ca")
|
|
|
|
(certbot-configuration (email "admin@metznet.ca")
|
|
|
|
(certificates (list (certificate-configuration
|
|
|
|
(certificates (list (certificate-configuration
|
|
|
|
(domains '
|
|
|
|
(domains '
|
|
|
|
("vpn.guix.metznet.ca"))))))))
|
|
|
|
("vpn.metznet.ca"))))))))
|
|
|
|
(modify-services %metznet-server-services (delete openvpn-client-service-type)))))
|
|
|
|
(modify-services %metznet-server-services (delete openvpn-client-service-type)))))
|
|
|
|
|
|
|
|
|
|
|
|