ming416 opened a new pull request #2183: automatic configure juniper srx nat 
loopback
URL: https://github.com/apache/cloudstack/pull/2183
 
 
   automatic configure juniper srx/vsrx nat loopback,
   
   constraint condition that manual configure source nat in juniper srx?allowed 
vm vist public network :
   zone : trust to {trust,untrust}
   rule : source address {0.0.0.0/0},destination address{0.0.0.0/0} ,do source 
nat with pool {public network getway ip}.
   
   code change for trust to trust destination or static nat:
   
   1. add srxCommand :CHECK_PRIVATE_IF_EXISTS. for add/delete rule to detect 
whether exist or not contain DestinationNatRule or StaticNatRule 
(ruleName_private) in trust zone .
   2. add DestinationNatRule or StaticNatRule (ruleName_private) to trust zone 
when ADD DestinationNatRule or StaticNatRule to untrust .
   3. delete DestinationNatRule or StaticNatRule (ruleName_private) from trust 
zone when DELETE DestinationNatRule or StaticNatRule from untrust.
 
----------------------------------------------------------------
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