From e9936940e7de4f0d4346c795b06a42b8986bba93 Mon Sep 17 00:00:00 2001 From: Chris Miles Date: Wed, 4 Oct 2017 22:42:14 -0500 Subject: [PATCH] Update README.md --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 42c74b7..b797c6f 100644 --- a/README.md +++ b/README.md @@ -170,3 +170,26 @@ iptables -A INPUT -p tcp --dport 3000 -s 127.0.0.0/8 -j ACCEPT iptables -A INPUT -p tcp --dport 3000 -s x.x.x.x/24 -j ACCEPT iptables -A INPUT -p tcp --dport 3000 -j REJECT --reject-with icmp-port-unreachable + +## Building dhcpd-pools (Optional) + +* Glass uses dhcpd-pools for shared network / subnet utilization and it is bundled by default (For Ubuntu and Debian) when you install. However, if you need to build the binary yourself on another distribution, use the following to build dhcpd-pools and it needs to be placed in the ./bin directory of glass +* Credit: dhcpd-pools: http://dhcpd-pools.sourceforge.net/ + +
+sudo apt-get install -y unzip
+sudo apt-get install -y libtool
+
+git clone https://github.com/Akkadius/dhcpd-pools.git
+
+cd /tmp
+wget https://github.com/troydhanson/uthash/archive/master.zip
+unzip master.zip
+
+cd /tmp/dhcpd-pools
+./bootstrap	# only when building git clone
+./configure --with-uthash=/tmp/uthash-master/include
+make -j4
+make check
+make install
+