Skip to content

Commit

Permalink
Update systemvm/debian/opt/cloud/bin/cs/CsAddress.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vishesh92 committed Feb 6, 2025
1 parent 45ede9d commit 2fa9d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemvm/debian/opt/cloud/bin/cs/CsAddress.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def fw_vpcrouter(self):
if static_route['ip_address'] == self.address['public_ip'] and not static_route['revoke']:
self.fw.append(["mangle", "",
"-A PREROUTING -m state --state NEW -i %s -s %s ! -d %s/32 -j ACL_OUTBOUND_%s" %
(self.dev, static_route['network'], static_route['gateway'], self.dev)])
(self.dev, static_route['network'], static_route['ip_address'], self.dev)])
self.fw.append(["filter", "", "-A FORWARD -d %s -o %s -j ACL_INBOUND_%s" %
(static_route['network'], self.dev, self.dev)])

Expand Down

0 comments on commit 2fa9d88

Please sign in to comment.