Xen and UFW (ubuntu)
I spent a couple of hours today tracking down a problem with a ubuntu server Dom0: the DomUs’ network would not work properly, communication to the Dom0 was the only thing that worked. The problem was that I had enabled ufw and by default ufw will drop Forward requests which is used by the bridged (default) networking in Xen.
If disabling ufw is not an option, the solution is to edit ‘/etc/default/ufw’ and change the value of DEFAULT_FORWARD_POLICY to ACCEPT.
The sed way:
sed -i -e's/DEFAULT_FORWARD_POLICY="DROP"/DEFAULT_FORWARD_POLICY="ACCEPT"/' /etc/default/ufw
Advertisement