about summary refs log tree commit diff
path: root/nixos/tests/initrd-network-openvpn
AgeCommit message (Collapse)AuthorFilesLines
2023-12-21openvpn: fix tests and add to passthru.testsYongun Seong1-7/+8
2023-04-17systemd-initrd: OpenVPNWill Fancher1-0/+18
2023-04-11systemd-initrd: Support secrets when boot loader doesn'tWill Fancher1-1/+1
initrd-secrets: Fix service config with systemd-stage-1
2022-12-03nixos/tests/initrd-network-openvpn: fixRaphael Robatsch2-1/+3
- The default cipher is BF-CBC, which openvpn refuses to use by default. Switched to AES-256-CBC. - openvpn does not require an external "ip" executable anymore, and does not support the "ipconfig" option by default, so remove that option.
2020-07-01nixos/system/boot/initrd-openvpn: Add openvpn options for initrdCRTified3-0/+195
nixos/tests/initrd-openvpn: Add test for openvpn in the initramfs The module in this commit adds new options that allows the integration of an OpenVPN client into the initrd. This can be used e.g. to remotely unlock LUKS devices. This commit also adds two tests for `boot.initrd.network.openvpn`. The first one is a basic test to validate that a failing connection does not prevent the machine from booting. The second test validates that this module actually creates a valid openvpn connection. For this, it spawns three nodes: - The client that uses boot.initrd.network.openvpn - An OpenVPN server that acts as gateway and forwards a port to the client - A node that is external to the OpenVPN network The client connects to the OpenVPN server and spawns a netcat instance that echos a value to every client. Afterwards, the external node checks if it receives this value over the forwarded port on the OpenVPN gateway.