andrijapanicsb commented on issue #3862: Userdata to display static NAT as public ip instead of VR ip URL: https://github.com/apache/cloudstack/pull/3862#issuecomment-588251442 Tested fine, except for a single issue I noticed (might not be related, but it also might) Happens in both VPC and Isolated network - Configure Static NAT, check meta-data - correct Static NAT IP reported - Release the IP, without previously disabling the Static NAT - and still the same Public IP is reported in meta-data, which is wrong (should be the source NAT now) - FYI: Disabling the Static NAT works fine, again Source NAT is reported in meta-data The issue has something to do with IPtables and the way we (don't) clean those rules properly, see the image below. @weizhouapache if you think this is not related to the PR, then we can move forward with this one (and this is kind of edge case, you are usually supposed to disable Static NAT, but again - a valid issue anyway) 
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
