Adding PXE server into a Unifi Security Gateway

So I’m in the process of setting up a PXE Server on my network. I have a Debian based TFTP server that I created without DHCP setup on it. Mainly because I want the USG to do most of the work.

So of course I went looking around the web to do this first. Which I really couldn’t find anything on how to do it, which of course lead me to an important lesson. Always look through the settings first. 🙂

So here’s what you need to do.

  • Log into your Unifi system
  • Then click network
  • Then click edit for the lan you want the pxe server to be on
  • Then click advanced DHCP options.

  • Click enable network boot. Enter the ip of the server as well as the file it will be booting. In my case currently I have just one linux distro in there.
  • Under DHCP TFTP Server put in the ip address of the PXE server as well.

And then you should be good to go provided you set up your PXE Server correctly.

Block a network device at a particular times

So I have to “turn off” the internet for computers in my house and I have an Edge Router X at the time of this post it is at v1.10.6

Here’s the steps you need to take.

  • Click Firewall/NAT
  • Click Firewall Policies
  • Click Add New Ruleset
  • Start Like this

  • Then click actions >> edit ruleset

  • Then click add new rule and make it look like this

  • Click source you can either put in the mac address or the ip address if the device has a static

  • The click time and put in the military time of when you want the block to start and end.