Allow DHCP through IPTables

From Tech Wiki
Jump to navigation Jump to search

To allow DHCP through IPTbales and IP6Tables run the following commands:

iptables -I INPUT -i eth2 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
ip6tables -I INPUT -i eth2 -p udp --dport 67:68 --sport 67:68 -j ACCEPT
service iptables save
service ip6tables save