{"version":"https://jsonfeed.org/version/1.1","title":"Jaryl Chng's Knowledge Base","home_page_url":"https://kb.jarylchng.com","feed_url":"https://kb-jarylchng-com.pages.dev/json/","description":"<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>","icon":"https://kb-static.jarylchng.com/kb-jarylchng-com/production/images/channel-c68f1f55f856ab833b4365991609dbec.png","favicon":"https://kb-static.jarylchng.com/kb-jarylchng-com/production/images/favicon-b94914f57599a477f9f72dab6bc71001.png","authors":[{"name":"Jaryl Chng"}],"language":"en-us","items":[{"id":"r6dsVb36y-l","title":"Linux - Setting up linuxserver/netbootxyz Docker Image and dnsmasq DHCP in Proxy Mode When Your Main Router Has Locked DHCP Settings","url":"https://kb.jarylchng.com/i/linux-setting-up-linuxservernetbootxyz-docker-i-r6dsVb36y-l/","content_html":"<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\ninterface=eth0\nbind-dynamic\nlog-dhcp\ndhcp-authoritative\ndhcp-range=192.168.1.0,proxy,255.255.255.0\npxe-service=x86PC, \"NETBOOT (BIOS)\", \"netboot.xyz.kpxe\", 192.168.1.253\npxe-service=X86-64_EFI, \"NETBOOT (EFI)\", \"netboot.xyz.efi\", 192.168.1.253\n</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>","content_text":"PREREQUISITES\n\n 1. Docker is installed\n 2. dnsmasq is installed\n\n\nSTEPS\n\n\n1. START DOCKER IMAGE FROM LINUXSERVER.IO\n\nHead down to linuxserver/netbootxyz and follow the instructions to get a\nnetboot.xyz container up and running.\n\n\n2. CONFIGURATION\n\n/ETC/DNSMASQ.CONF\n\nport=0\ninterface=eth0\nbind-dynamic\nlog-dhcp\ndhcp-authoritative\ndhcp-range=192.168.1.0,proxy,255.255.255.0\npxe-service=x86PC, \"NETBOOT (BIOS)\", \"netboot.xyz.kpxe\", 192.168.1.253\npxe-service=X86-64_EFI, \"NETBOOT (EFI)\", \"netboot.xyz.efi\", 192.168.1.253\n\n\nEXPLANATIONS\n\n * port=0 - (optional) disable DNS server if not in use\n * interface=eth0 - (optional) only listen on interface eth0, repeat this line\n   for more interfaces, remove for all interfaces\n * log-dhcp - (optional) log DHCP requests\n * bind-dynamic - (optional) binds to new interfaces added after start\n * dhcp-authoritative - prioritize this DHCP server in a network\n * dhcp-range - replace 192.168.1.0 and 255.255.255.0 according to your IP range\n   and subnet, set to proxy mode to proxy your original DHCP server\n * pxe-service=x86PC for BIOS systems, replace 192.168.1.253 with the IP of the\n   machine hosting netbootxyz\n * pxe-service=X86-64_EFI for UEFI systems, replace 192.168.1.253 with the IP of\n   the machine hosting netbootxyz\n * enable-tftp is not included as it already hosted by the Docker container\n\n\n3. START YOUR SERVICES\n\nStart your services.","date_published":"2024-04-06T16:17:02.835Z","_microfeed":{"web_url":"https://kb-jarylchng-com.pages.dev/i/linux-setting-up-linuxservernetbootxyz-docker-i-r6dsVb36y-l/","json_url":"https://kb-jarylchng-com.pages.dev/i/r6dsVb36y-l/json/","rss_url":"https://kb-jarylchng-com.pages.dev/i/r6dsVb36y-l/rss/","guid":"r6dsVb36y-l","status":"published","itunes:episodeType":"full","date_published_short":"Sat Apr 06 2024","date_published_ms":1712420222835}}],"_microfeed":{"microfeed_version":"0.1.2","base_url":"https://kb-jarylchng-com.pages.dev","categories":[{"name":"Technology"}],"subscribe_methods":[{"name":"RSS","type":"rss","url":"https://kb-jarylchng-com.pages.dev/rss/","image":"https://kb-jarylchng-com.pages.dev/assets/brands/subscribe/rss.png","enabled":true,"editable":false,"id":"sQbXXExV58H"},{"name":"JSON","type":"json","url":"https://kb-jarylchng-com.pages.dev/json/","image":"https://kb-jarylchng-com.pages.dev/assets/brands/subscribe/json.png","enabled":true,"editable":false,"id":"nC8cjLCnOOi"}],"description_text":"Welcome to the index page of my knowledge base, if you haven't done so, do visit\nmy website at https://jarylchng.com.\n\nI will mainly use this site to document stuff, most of which will likely be in\nthe public domain.","copyright":"©2024","itunes:type":"episodic","items_sort_order":"newest_first"}}