Quote:
Originally posted by mikz
iptables -A INPUT -i eth1 -j ACCEPT
subnet 192.168.1.0 netmask 255.255.255.128 {
So I'm missing the problem here.? How do I allow the subnet 192.168.1.0?
|
sorry im -edit- NOT good at dhcpd thing. actually u can check /etc/services file to see ports of dhcp and allow dhcpd ports. if i remeber correctly those ports are tcp/udp 67 . so u can try :
iptables -A INPUT -i eth1 -p tcp --dport 67 -j ACCEPT
iptables -A INPUT -i eth1 -p udp --dport 67 -j ACCEPT
iptables -A INPUT -i eth1 -s 192.168.1.0/255.255.255.0 -j ACCEPT
and what about the POSTROUTING/PREROUTING rules that i suggested, do they work?
good luck.