Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75223182E8 for ; Mon, 2 Nov 2015 13:26:40 +0000 (UTC) Received: (qmail 91798 invoked by uid 500); 2 Nov 2015 13:26:28 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 91731 invoked by uid 500); 2 Nov 2015 13:26:28 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 91717 invoked by uid 500); 2 Nov 2015 13:26:28 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 91714 invoked by uid 99); 2 Nov 2015 13:26:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2015 13:26:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DCF3B2C1F70 for ; Mon, 2 Nov 2015 13:26:27 +0000 (UTC) Date: Mon, 2 Nov 2015 13:26:27 +0000 (UTC) From: "Wilder Rodrigues (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8925) Default allow for Egress rules is not being configured properly in VR iptables rules MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985207#comment-14985207 ] Wilder Rodrigues commented on CLOUDSTACK-8925: ---------------------------------------------- Hi [~rajanik] If you create a VM under that network, can the VM talk to the outside world? I see the rule clearly, but last time I tried to go outside from a VM in a network with default egress to DENY, I had to add an egress rule allowing traffic. I'm deploying a DC to have a look into it. Cheers, Wilder > Default allow for Egress rules is not being configured properly in VR iptables rules > ------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-8925 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8925 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Virtual Router > Affects Versions: 4.6.0 > Reporter: Pavan Kumar Bandarupally > Assignee: Wilder Rodrigues > Priority: Critical > Fix For: 4.6.0 > > > When we create a network with Egress rules set to default allow, the rules created in FW_OUTBOUND table should have a reference to FW_EGRESS_RULES chain which has a rule to accept NEW packets from the guest instances. Without that rule only RELATED , ESTABLISHED rule in FW_OUTBOUND chain will result in Drop of packets. > Chain FORWARD (policy DROP 0 packets, 0 bytes) > pkts bytes target prot opt in out source destination > 44 2832 NETWORK_STATS all -- * * 0.0.0.0/0 0.0.0.0/0 > 0 0 ACCEPT all -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED > 0 0 ACCEPT all -- eth0 eth0 0.0.0.0/0 0.0.0.0/0 state NEW > 4 336 ACCEPT all -- eth2 eth0 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED > 0 0 ACCEPT all -- eth0 eth0 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED > 40 2496 FW_OUTBOUND all -- eth0 eth2 0.0.0.0/0 0.0.0.0/0 > Chain OUTPUT (policy ACCEPT 20 packets, 1888 bytes) > pkts bytes target prot opt in out source destination > 2498 369K NETWORK_STATS all -- * * 0.0.0.0/0 0.0.0.0/0 > Chain FIREWALL_EGRESS_RULES (0 references) > pkts bytes target prot opt in out source destination > Chain FW_OUTBOUND (1 references) > pkts bytes target prot opt in out source destination > 3 252 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED -- This message was sent by Atlassian JIRA (v6.3.4#6332)