Linux Virtualization Configuration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
* [[Linux Virtualization#Subjects|Linux Virtualization]] | * [[Linux Virtualization#Subjects|Linux Virtualization]] | ||
=Virtual Switch Configuration= | |||
==NAT IP Masquerading== | |||
Shut down the virtual switch before modifying the iptables configuration. | |||
The public IP ranges for forward mode NAT, in order to create a port masquerading range can be set by running: | |||
<pre> | |||
iptables -j SNAT --to-source [start-ip]-[end-ip] | |||
</pre> | |||
=Organizatorium= | =Organizatorium= | ||
* Configuration files https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/sect-Manipulating_the_domain_xml-Devices.html#sect-Devices-Network_interfaces | * Configuration files https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/sect-Manipulating_the_domain_xml-Devices.html#sect-Devices-Network_interfaces |
Revision as of 17:42, 27 June 2017
Internal
Virtual Switch Configuration
NAT IP Masquerading
Shut down the virtual switch before modifying the iptables configuration.
The public IP ranges for forward mode NAT, in order to create a port masquerading range can be set by running:
iptables -j SNAT --to-source [start-ip]-[end-ip]