[Openstack] Disabling NAT

Vishvananda Ishaya vishvananda at gmail.com
Wed Jan 9 19:07:16 UTC 2013


If you are attempting to stop nova-network from snatting for instances you can very easily do it with conf:

routing_source_ip=

(set routing_source_ip to none)

This will stop the snat for instances. Please note that you will need to provide a gateway through dnsmasq for your instances to reach the internet.

Vish

On Jan 9, 2013, at 5:58 AM, Joe Warren-Meeks <joe.warren.meeks at gmail.com> wrote:

> Hi guys,
> 
> I've managed to disable NAT by deleting the correct rule. This means all my instances are properly routable no, which is exactly what I want.
> 
> To do this, I'm using 
> 
> iptables -vnL -t nat --line-numbers 
> 
> to get the rule number from the nova-network-snat chain and deleting it using:
> 
> iptables -t nat -D nova-network-snat <num>
> 
> My question is when and where are those snat rules created, so that I can prevent them from being setup in the first place.
> 
> Kind regards
> 
>  -- joe.
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp





More information about the Openstack mailing list