FreeBSD – Encrypt swap partition with GELI

Ronnie has added a new video to the BSDTutorial Youtube channel. This video teaches you how to encrypt the swap partition in FreeBSD

1. Edit /boot/loader.conf

2. Add:

  • Add GEOM_ELI
  • Add device_crypto

3. Edit /etc/fstab

  • Add .eli at the end of your swap device name

4. Reboot

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>