[Dnsmasq-discuss] Dnsmasq DHCP Server Doesn't Work

Gabriel A. Devenyi ace at staticwave.ca
Thu Aug 25 00:59:37 BST 2005


On August 24, 2005 10:48, Simon Kelley wrote:
> NO. Read the dnsmasq FAQ. dhcpd bypasses the firewall system and dnsmasq 
> doesn't, so you could be blocking stuff from dnsmasq and still have a 
> working dhcpd.

Alright, so I disabled my firewall, and now it works, this confuses me, as I've not restricted the lan interface in any way
(at least as far as I understand) attached is my firehol configuration, anyone see where I'm going wrong?


-- 
Gabriel Devenyi
ace at staticwave.ca
-------------- next part --------------
#FIREHOL_LOG_LEVEL=7
lan_ips="192.168.1.1/24"

dnat to 192.168.1.2 proto tcp dport 32770
dnat to 192.168.1.2 proto udp dport 32770

transparent_squid 3128 "squid root ace" inface eth0 src 192.168.1.1/24

interface eth0 lan src "${lan_ips}"
	policy accept
	server all accept
	client all accept
interface ppp+ wan src not "${lan_ips} ${UNROUTABLE_IPS}"
	policy drop
	protection strong
	server ssh accept
	server imaps accept
	server ident reject with tcp-reset
	server custom skype "tcp/32770 udp/32770" default accept
	server custom bt "tcp/35000:35100" default accept
	client all accept
	server all drop

router lan2wan inface eth0 outface ppp+
	masquerade
	route all accept

router wan2lan inface ppp+ outface eth0
	route ident reject with tcp-reset
	route custom skype "tcp/32770 udp/32770" default accept


More information about the Dnsmasq-discuss mailing list