From 4df8b55ea0e5957e50d57e3b8f3d6fdb2f6ed2dd Mon Sep 17 00:00:00 2001 From: Vishesh Date: Fri, 24 Jan 2025 16:16:42 +0530 Subject: [PATCH] Update systemvm/debian/opt/cloud/bin/cs/CsAddress.py --- systemvm/debian/opt/cloud/bin/cs/CsAddress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemvm/debian/opt/cloud/bin/cs/CsAddress.py b/systemvm/debian/opt/cloud/bin/cs/CsAddress.py index 0f81855b8131..f123a5ff9e6d 100755 --- a/systemvm/debian/opt/cloud/bin/cs/CsAddress.py +++ b/systemvm/debian/opt/cloud/bin/cs/CsAddress.py @@ -562,7 +562,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)])