Skip to content

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.

License

Notifications You must be signed in to change notification settings

ImranR98/dracut-frpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dracut-frpc

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.

Usage

  1. 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=dhcp to the GRUB_CMDLINE_LINUX variable in /etc/default/grub, then running grub2-mkconfig --output /etc/grub2.cfg.
    • Ensure whatever services you'll use FRP for (for example, an SSH service), are also setup to run in the initramfs environment.
  2. Run setup.sh. This will:
    1. Download the latest version of FRPC.
    2. Grab a user-defined FRPC config file.
    3. Install the Dracut module.

See Also

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Languages