mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-106: this issue seems be coverred by other issue somehow, when other issue is fixed, this issue shows up
This commit is contained in:
parent
c594ed68af
commit
44e8938120
|
|
@ -48,7 +48,7 @@ destroy_acl_chain() {
|
|||
create_acl_chain() {
|
||||
destroy_acl_chain
|
||||
sudo iptables -t mangle -N ACL_OUTBOUND_$dev 2>/dev/null
|
||||
sudo iptables -t mangle -A ACL_OUTBOUND_$dev -j DROP 2>/dev/null
|
||||
sudo iptables -t mangle -A ACL_OUTBOUND_$dev -j ACCEPT 2>/dev/null
|
||||
sudo iptables -t mangle -A PREROUTING -m state --state NEW -i $dev -s $subnet/$mask ! -d $ip -j ACL_OUTBOUND_$dev 2>/dev/null
|
||||
sudo iptables -N ACL_INBOUND_$dev 2>/dev/null
|
||||
# drop if no rules match (this will be the last rule in the chain)
|
||||
|
|
|
|||
Loading…
Reference in New Issue