Run an FRP client during system boot using Dracut.
Meant for use with dracut-crypt-ssh to remotely decrypt a Fedora server that is behind NAT.
Also supports secureblue.
- Prerequisites:
- Ensure a network connection is available in the pre-boot environment.
- For a wired connection on systems that use GRUB, this is as simple as adding
rd.neednet=1 ip=dhcpto theGRUB_CMDLINE_LINUXvariable in/etc/default/grub, then runninggrub2-mkconfig --output /etc/grub2.cfg.
- For a wired connection on systems that use GRUB, this is as simple as adding
- Ensure whatever services you'll use FRP for (for example, an SSH service via
dracut-crypt-ssh), are also already setup to run in the initramfs environment.
- Ensure a network connection is available in the pre-boot environment.
- Run
setup.sh. This will:- Download the latest version of FRPC.
- Grab a user-defined FRPC config file.
- Install the Dracut module.