Merge lp:~markmc/nova/dnsmasq-accept-rules into lp:~hudson-openstack/nova/trunk
Proposed by
Mark McLoughlin
| Status: | Merged |
|---|---|
| Approved by: | Vish Ishaya |
| Approved revision: | 1529 |
| Merged at revision: | 1603 |
| Proposed branch: | lp:~markmc/nova/dnsmasq-accept-rules |
| Merge into: | lp:~hudson-openstack/nova/trunk |
| Diff against target: |
31 lines (+14/-0) 1 file modified
nova/network/linux_net.py (+14/-0) |
| To merge this branch: | bzr merge lp:~markmc/nova/dnsmasq-accept-rules |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Josh Kearney (community) | Approve | ||
| Vish Ishaya (community) | Approve | ||
|
Review via email:
|
|||
Commit message
Add iptables filter rules for dnsmasq (lp:844935)
On Fedora, the default policy for the INPUT chain in the filter table
is DROP. This means that DHCP and DNS request packets from the guest
get dropped.
Add these rules to allow the traffic through:
$> sudo iptables -t filter -A nova-network-INPUT -i br0 -p udp -m udp --dport 67 -j ACCEPT
$> sudo iptables -t filter -A nova-network-INPUT -i br0 -p tcp -m tcp --dport 67 -j ACCEPT
$> sudo iptables -t filter -A nova-network-INPUT -i br0 -p udp -m udp --dport 53 -j ACCEPT
$> sudo iptables -t filter -A nova-network-INPUT -i br0 -p tcp -m tcp --dport 53 -j ACCEPT
To post a comment you must log in.

seems totally reasonable. A linked bug would be nice.