File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
systemvm/debian/opt/cloud/bin/cs Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -565,8 +565,11 @@ def fw_vpcrouter(self):
565565 self .fw .append (["mangle" , "" ,
566566 "-A PREROUTING -m state --state NEW -i %s -s %s ! -d %s/32 -j ACL_OUTBOUND_%s" %
567567 (self .dev , static_route ['network' ], static_route ['ip_address' ], self .dev )])
568- self .fw .append (["filter" , "" , "-A FORWARD -d %s -o %s -j ACL_INBOUND_%s" %
569- (static_route ['network' ], self .dev , self .dev )])
568+ self .fw .append (["filter" , "front" , "-A FORWARD -d %s -o %s -j ACL_INBOUND_%s" %
569+ (static_route ['network' ], self .dev , self .dev )])
570+ self .fw .append (["filter" , "front" ,
571+ "-A FORWARD -d %s -o %s -m state --state RELATED,ESTABLISHED -j ACCEPT" %
572+ (static_route ['network' ], self .dev )])
570573
571574 if self .address ["source_nat" ]:
572575 self .fw .append (["nat" , "front" ,
You can’t perform that action at this time.
0 commit comments