libvirt/tests/networkxml2firewalldata/nat-port-range.xml

21 lines
530 B
XML
Raw Normal View History

<network>
<name>default</name>
<bridge name="virbr0"/>
<forward mode='nat'>
<nat>
<port start='500' end='1000'/>
</nat>
</forward>
<ip address="192.168.122.1" netmask="255.255.255.0">
<dhcp>
<range start="192.168.122.2" end="192.168.122.254"/>
</dhcp>
</ip>
<ip address="192.168.128.1" netmask="255.255.255.0"/>
<ip family="ipv6" address="2001:db8:ca2:2::1" prefix="64" >
<dhcp>
<range start="2001:db8:ca2:2:1::10" end="2001:db8:ca2:2:1::ff" />
</dhcp>
</ip>
</network>