+Thu Mar 27 20:59:56 EDT 2008 Daniel P. Berrange <berrange@redhat.com>
+
+ * src/iptables.c: Ensure masquering rule only catches traffic
+ leaving the virtual network, and not traffic inside it
+ (patch from Charles Duffy)
+
Thu Mar 27 14:36:56 CET 2008 Jim Meyering <meyering@redhat.com>
lxcError: mark a string and add to the list of nearly-checked functions
return iptablesAddRemoveRule(ctx->nat_postrouting,
action,
"--source", network,
+ "--destination", "!", network,
"--out-interface", physdev,
"--jump", "MASQUERADE",
NULL);
return iptablesAddRemoveRule(ctx->nat_postrouting,
action,
"--source", network,
+ "--destination", "!", network,
"--jump", "MASQUERADE",
NULL);
}