ustcweizhou commented on issue #2680: Using Source NAT option on Private 
Gateway does not work
URL: https://github.com/apache/cloudstack/issues/2680#issuecomment-394071182
 
 
   @Slair1 I saw your PR.
   
   I am using 4.7.1. The ip in private gateway network is Public, not Guest. It 
seems to be a regression issue.
   If the type is Guest, your PR should fix the issue. However, it will impact 
all guest networks (vpc tiers), I am not sure if it will lead to security 
issues.
   
   Is it good to add a check before the code ?
   
   ```
   if self.address["source_nat"]:
       self.fw.append(new rule)
   else:
       self.fw.append(old rule)
   ```
   
   the source_nat should be true for the ip in private gateway network, but 
false for ips in guest networks. This is why I asked you if you can post the 
/etc/cloudstack/ips.json .
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to