Allow DHCP through IPTables

From Tech Wiki
Revision as of 09:45, 17 May 2016 by Adam.birds (talk | contribs) (Created page with "To allow DHCP through IPTbales and IP6Tables run the following commands: <pre> iptables -I INPUT -i eth2 -p udp --dport 67:68 --sport 67:68 -j ACCEPT ip6tables -I INPUT -i et...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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