<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/rss/stylesheet/" type="text/xsl"?>
<rss xmlns:content='http://purl.org/rss/1.0/modules/content/' xmlns:taxo='http://purl.org/rss/1.0/modules/taxonomy/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:itunes='http://www.itunes.com/dtds/podcast-1.0.dtd' xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:atom='http://www.w3.org/2005/Atom' xmlns:podbridge='http://www.podbridge.com/podbridge-ad.dtd' version='2.0'>
<channel>
  <title>Jaryl Chng&apos;s Knowledge Base</title>
  <language>en-us</language>
  <generator>microfeed.org</generator>
  <itunes:type>episodic</itunes:type>
  <itunes:explicit>false</itunes:explicit>
  <atom:link rel="self" href="https://kb-jarylchng-com.pages.dev/rss/" type="application/rss+xml"/>
  <link>https://kb.jarylchng.com</link>
  <description>
    <![CDATA[<p>Welcome to the index page of my knowledge base, if you haven't done so, do visit my website at <a href="https://jarylchng.com" rel="noopener noreferrer" target="_blank">https://jarylchng.com</a>.</p><p>I will mainly use this site to document stuff, most of which will likely be in the public domain.</p>]]>
  </description>
  <itunes:author>Jaryl Chng</itunes:author>
  <itunes:image href="https://kb-static.jarylchng.com/kb-jarylchng-com/production/images/channel-c68f1f55f856ab833b4365991609dbec.png"/>
  <image>
    <title>Jaryl Chng&apos;s Knowledge Base</title>
    <url>https://kb-static.jarylchng.com/kb-jarylchng-com/production/images/channel-c68f1f55f856ab833b4365991609dbec.png</url>
    <link>https://kb.jarylchng.com</link>
  </image>
  <copyright>©2024</copyright>
  <itunes:category text="Technology"/>
  <item>
    <title>Linux - Setting up linuxserver/netbootxyz Docker Image and dnsmasq DHCP in Proxy Mode When Your Main Router Has Locked DHCP Settings</title>
    <guid>r6dsVb36y-l</guid>
    <pubDate>Sat, 06 Apr 2024 16:17:02 GMT</pubDate>
    <itunes:explicit>false</itunes:explicit>
    <description>
      <![CDATA[<h2>Prerequisites</h2><ol><li>Docker is installed</li><li>dnsmasq is installed</li></ol><h2>Steps</h2><h3>1. Start Docker image from <a href="http://linuxserver.io" rel="noopener noreferrer" target="_blank">linuxserver.io</a></h3><p>Head down to <a href="https://hub.docker.com/r/linuxserver/netbootxyz" rel="noopener noreferrer" target="_blank">linuxserver/netbootxyz</a> and follow the instructions to get a netboot.xyz container up and running.</p><h3>2. Configuration</h3><h4>/etc/dnsmasq.conf</h4><pre class="ql-syntax" spellcheck="false">port=0
interface=eth0
bind-dynamic
log-dhcp
dhcp-authoritative
dhcp-range=192.168.1.0,proxy,255.255.255.0
pxe-service=x86PC, "NETBOOT (BIOS)", "netboot.xyz.kpxe", 192.168.1.253
pxe-service=X86-64_EFI, "NETBOOT (EFI)", "netboot.xyz.efi", 192.168.1.253
</pre><h5>Explanations</h5><ul><li>port=0 - <strong>(optional)</strong> disable DNS server if not in use</li><li>interface=eth0 - <strong>(optional)</strong> only listen on interface eth0, repeat this line for more interfaces, remove for all interfaces</li><li>log-dhcp - <strong>(optional)</strong> log DHCP requests</li><li>bind-dynamic - <strong>(optional)</strong> binds to new interfaces added after start</li><li>dhcp-authoritative - prioritize this DHCP server in a network</li><li>dhcp-range - replace 192.168.1.0 and 255.255.255.0 according to your IP range and subnet, set to proxy mode to proxy your original DHCP server</li><li>pxe-service=x86PC for BIOS systems, replace 192.168.1.253 with the IP of the machine hosting netbootxyz</li><li>pxe-service=X86-64_EFI for UEFI systems, replace 192.168.1.253 with the IP of the machine hosting netbootxyz</li><li>enable-tftp is <strong>not included</strong> as it already hosted by the Docker container</li></ul><h3>3. Start your services</h3><p>Start your services.</p>]]>
    </description>
    <link>https://kb.jarylchng.com/i/linux-setting-up-linuxservernetbootxyz-docker-i-r6dsVb36y-l/</link>
    <itunes:episodeType>full</itunes:episodeType>
  </item>
</channel>
</rss>