Linux Virtualization Configuration: Difference between revisions
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
==NAT IP Masquerading== | ==NAT IP Masquerading== | ||
Shut down the [[KVM_Virtual_Networking_Concepts#Virtual_Network_Switch|virtual switch]] before modifying the iptables configuration. | Shut down the [[KVM_Virtual_Networking_Concepts#Virtual_Network_Switch|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: | The public IP ranges for forward mode NAT, in order to create a port masquerading range can be set by running: |
Revision as of 17:46, 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]