Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
using OPNsense as a netboot server
« previous
next »
Print
Pages: [
1
]
Author
Topic: using OPNsense as a netboot server (Read 5361 times)
ranceh
Newbie
Posts: 6
Karma: 0
using OPNsense as a netboot server
«
on:
February 03, 2022, 04:26:48 pm »
Due to limited hardware I'm interested in using OPNSense as a netboot pxe server instance.
So the dhcp config sets opnsense as the next server and the tftp service is enabled from plugins and running.
I can use syslinux to build something but it seems that the netboot.xyz project has done nearly everything I would do, and a few things I dont need to do.
my clients are strictly pxe, so somehow I'd have to chainload ipxe from pxe, then use ipxe to load the netboot.xyz project.
My problem seems to be discussed here:
https://ipxe.org/howto/chainloading
.
I don't understand how to take the section on "breaking the loop with the DHCP server" and implement it in OPNsense.
I was able to recompile the code and embed a script, but that only works for the bios side of things. When I tried to do the same for the uefi boot file, things broke.
Any tips or pointers on how to do what the article suggests in the way of modifying the dhcp server would be helpful.
Logged
tadchilly
Newbie
Posts: 7
Karma: 0
Re: using OPNsense as a netboot server
«
Reply #1 on:
May 19, 2023, 07:47:20 pm »
Did you ever figure this out?
Edit: Nevermind. my setup is working great!
For anyone else comes across this and wants to try, I followed this tutorial:
https://forum.opnsense.org/index.php?topic=25003
And I'm loading this file (downloaded to /usr/local/tftp/):
https://boot.netboot.xyz/ipxe/netboot.xyz.efi
instead of `pxelinux.0` (although it's good to have syslinux available in case you want to switch for some reason), but netboot.xyz is the cat's meow!
«
Last Edit: May 19, 2023, 09:47:26 pm by tadchilly
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
using OPNsense as a netboot server