[Lxc-users] lxc-net.conf on ubuntu
groupie
stopmakingsense at gmx.de
Sun Sep 2 09:56:07 UTC 2012
Hi list!
I just came over the fact that the iptables config set in the lxc-net
upstart job does also rewrite connections between hosts on the bridge. I
added a rule before the masquerade to prevent this and make sure, that
hosts on the same net bound to the bridge can talk without rewriting.
iptables -A POSTROUTING -s ${LXC_NETWORK} -d ${LXC_NETWORK} -t nat -j ACCEPT
Is that something that should be added in general? Dunno, maybe some
people want rewriting here?
Cheers,
Groupie
More information about the lxc-users
mailing list