]> git.ipfire.org Git - thirdparty/libvirt.git/commit
net: add support for specifying port range for forward mode nat
authorNatanael Copa <ncopa@alpinelinux.org>
Tue, 19 Feb 2013 10:44:15 +0000 (11:44 +0100)
committerLaine Stump <laine@laine.org>
Tue, 19 Feb 2013 19:42:18 +0000 (14:42 -0500)
commit1716e7a6c5178889bd42d925093715a47c458fc9
tree81fe01a7e5dab9c883f161accf4f2834e87cdd73
parent905629f47ed6eb12e149be45a10da2b61082ed88
net: add support for specifying port range for forward mode nat

Let users set the port range to be used for forward mode NAT:

...
  <forward mode='nat'>
    <nat>
      <port start='1024' end='65535'/>
    </nat>
  </forward>
...

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Laine Stump <laine@laine.org>
docs/formatnetwork.html.in
src/conf/network_conf.c
src/conf/network_conf.h
src/network/bridge_driver.c
src/util/viriptables.c
src/util/viriptables.h