User Tools

Site Tools


opnsense

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
opnsense [2025/06/08 12:16] Fabián Rodríguezopnsense [2025/06/12 07:39] (current) Fabián Rodríguez
Line 1: Line 1:
-== Initial setup ==+====== Initial setup ======
  
   * Setup VLANs - Interfaces -> Devices -> VLAN   * Setup VLANs - Interfaces -> Devices -> VLAN
Line 14: Line 14:
  
  
-== Backup ==+====== Backup ======
   * System -> Configuration -> Backups   * System -> Configuration -> Backups
 +
 +
 +====== Setting Up PXE Boot with TFTP on OPNsense ======
 +
 +=== 1. Install and Enable the TFTP Service ===
 +  * Go to **System > Firmware > Plugins** in OPNsense.
 +  * Search for `os-tftp` and install it.
 +  * Navigate to **Services > TFTP > General**, enable TFTP, and set the **server IP**.
 +
 +=== 2. Configure DHCP for PXE Boot ===
 +  * Go to **Services > DHCPv4 > [LAN]**.
 +  * Enable **Network Booting** and set:
 +    - **Next-server IP** (the TFTP server, usually OPNsense itself).
 +    - **Boot filename** (`pxelinux.0` for BIOS, `bootx64.efi` for UEFI).
 +
 +=== 3. Prepare the TFTP Server ===
 +  * Upload PXE boot files to `/usr/local/tftp`.
 +  * Ensure the correct bootloader (`pxelinux.0` or UEFI equivalents) is available.
 +
 +=== 4. Test the Configuration ===
 +  * Boot a PXE-capable client.
 +  * Verify it retrieves the bootloader from the TFTP server.
 +
 +==== Useful Resources ====
 +  * [GitHub PXE Guide for OPNsense](https://gist.github.com/azhang/d8304d8dd4b4c165b67ab57ae7e1ede0)
 +  * [OPNsense Forum Discussion on PXE](https://forum.opnsense.org/index.php?topic=25003.0)
 +
opnsense.txt · Last modified: by Fabián Rodríguez