Re: [libvirt] [PATCH v2 2/4] net: support set public ip for forward mode nat

2013-02-11 Thread Natanael Copa
On Fri, 8 Feb 2013 17:25:11 + Daniel P. Berrange berra...@redhat.com wrote: On Mon, Feb 04, 2013 at 10:45:24AM +0100, Natanael Copa wrote: Support setting which public ip to use for NAT via attribute address in subelement nat in forward: ... forward mode='nat' nat

Re: [libvirt] [PATCH v2 2/4] net: support set public ip for forward mode nat

2013-02-08 Thread Daniel P. Berrange
On Mon, Feb 04, 2013 at 10:45:24AM +0100, Natanael Copa wrote: Support setting which public ip to use for NAT via attribute address in subelement nat in forward: ... forward mode='nat' nat address='1.2.3.4'/ /forward Unless I'm mis-understanding, this is just identical to using

[libvirt] [PATCH v2 2/4] net: support set public ip for forward mode nat

2013-02-04 Thread Natanael Copa
Support setting which public ip to use for NAT via attribute address in subelement nat in forward: ... forward mode='nat' nat address='1.2.3.4'/ /forward ... This will construct an iptables line using: '-j SNAT --to-source address' instead of: '-j MASQUERADE' Signed-off-by: