We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47b1a76 commit 0618754Copy full SHA for 0618754
systemvm/debian/opt/cloud/bin/cs/CsAddress.py
@@ -492,6 +492,10 @@ def fw_vpcrouter(self):
492
self.fw.append(["nat", "front",
493
"-A POSTROUTING -o %s -j SNAT --to-source %s" %
494
(self.dev, self.address['public_ip'])])
495
+ if self.get_gateway() == self.get_ip_address():
496
+ # Accept packet from private gateway if VPC VR is used as gateway
497
+ self.fw.append(["filter", "", "-A FORWARD -s %s ! -d %s -j ACCEPT" %
498
+ (self.address['network'], self.address['network'])])
499
500
if self.get_type() in ["public"]:
501
self.fw.append(
0 commit comments