You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Sangeetha Hariharan (JIRA)" <ji...@apache.org> on 2012/09/14 21:21:07 UTC

[jira] [Created] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Sangeetha Hariharan created CLOUDSTACK-106:
----------------------------------------------

             Summary: Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
                 Key: CLOUDSTACK-106
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
             Project: CloudStack
          Issue Type: Bug
         Environment: Tested with:

Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git


Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.

Steps to reproduce the problem:

Create a VPC.
Create few networks in this VPC.
Deploy few vms as part of this VPC.

>From with in these Vms , try to access any server like ping google.com

We are NOT allowed access.

Expected Behavior:

By default , It should be open for all egress traffic until first egress rule is added. 

root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
:ACL_OUTBOUND_eth2 - [0:0]
:ACL_OUTBOUND_eth3 - [0:0]
-A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
-A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
-A ACL_OUTBOUND_eth2 -j DROP 
-A ACL_OUTBOUND_eth3 -j DROP

 

            Reporter: Sangeetha Hariharan




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Anthony Xu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Xu resolved CLOUDSTACK-106.
-----------------------------------

    Resolution: Fixed

You were using very old build,
try latest code, should be fixed
                
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Anthony Xu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459799#comment-13459799 ] 

Anthony Xu commented on CLOUDSTACK-106:
---------------------------------------

can you share the environment or describe how to reproduce it?
                
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Sangeetha Hariharan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sangeetha Hariharan updated CLOUDSTACK-106:
-------------------------------------------

    Environment: 
Tested with:

Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git




 


  was:
Tested with:

Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git


Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.

Steps to reproduce the problem:

Create a VPC.
Create few networks in this VPC.
Deploy few vms as part of this VPC.

>From with in these Vms , try to access any server like ping google.com

We are NOT allowed access.

Expected Behavior:

By default , It should be open for all egress traffic until first egress rule is added. 

root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
:ACL_OUTBOUND_eth2 - [0:0]
:ACL_OUTBOUND_eth3 - [0:0]
-A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
-A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
-A ACL_OUTBOUND_eth2 -j DROP 
-A ACL_OUTBOUND_eth3 -j DROP

 


    
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Anthony Xu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457401#comment-13457401 ] 

Anthony Xu commented on CLOUDSTACK-106:
---------------------------------------

anthony@ubuntu12-ax:~/vmops/incubator-cloudstack$ git show 3cfe01d0
commit 3cfe01d07cefc7094ce4ed2a9dde28c88437b1d1
Author: Anthony Xu <an...@cloud.com>
Date:   Fri Sep 7 17:03:12 2012 -0700

        VPC : by default , outgoing traffic is allowed out, once egress rules are added, only traffic specified in those are allowed out, others are blocked
                
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "sadhu suresh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464929#comment-13464929 ] 

sadhu suresh commented on CLOUDSTACK-106:
-----------------------------------------

Tested with latest build still see the probem by default we are not allowing egress traffic.

unable to ping google.com

Steps:
**********
Create a VPC. 
Create few networks in this VPC. 
Deploy few vms as part of this VPC. 

>From with in these Vms , try to access any server like ping google.com 

We are NOT allowed access. 



oot@r-5-VM:~# iptables-save | grep OUTBOUND
:ACL_OUTBOUND_eth2 - [0:0]
-A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2
-A ACL_OUTBOUND_eth2 -j DROP


Machine IP:10.147.29.102(root/password)

 cloud-sccs
Git Revision: 8ed8b8b8b66084e0e5409ae5fcc9dc1caca53519
Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git



                
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Reopened] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Sangeetha Hariharan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sangeetha Hariharan reopened CLOUDSTACK-106:
--------------------------------------------


Re-opening this bug as per Suresh's findings using the latest builds.
                
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Sangeetha Hariharan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sangeetha Hariharan updated CLOUDSTACK-106:
-------------------------------------------

    Description: 
Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.

Steps to reproduce the problem:

Create a VPC.
Create few networks in this VPC.
Deploy few vms as part of this VPC.

>From with in these Vms , try to access any server like ping google.com

We are NOT allowed access.

Expected Behavior:

By default , It should be open for all egress traffic until first egress rule is added. 

root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
:ACL_OUTBOUND_eth2 - [0:0]
:ACL_OUTBOUND_eth3 - [0:0]
-A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
-A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
-A ACL_OUTBOUND_eth2 -j DROP 
-A ACL_OUTBOUND_eth3 -j DROP

 

    
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Anthony Xu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Xu resolved CLOUDSTACK-106.
-----------------------------------

    Resolution: Fixed

commit 44e893812010961baa8edda7ffb1f96239c3c542
Author: Anthony Xu <an...@cloud.com>
Date:   Fri Sep 21 10:24:58 2012 -0700

    CLOUDSTACK-106:  this issue seems be coverred by other issue somehow, when other issue is fixed, this issue shows up

                
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Anthony Xu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Xu closed CLOUDSTACK-106.
---------------------------------


merge to 4.0 from master

commit 95df352e87e677b750d1607d6b16e093b984ebda
Author: Anthony Xu <an...@cloud.com>
Date:   Fri Sep 21 10:24:58 2012 -0700

    CLOUDSTACK-106:  this issue seems be coverred by other issue somehow, when other issue is fixed, this issue shows up

                
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "sadhu suresh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459591#comment-13459591 ] 

sadhu suresh commented on CLOUDSTACK-106:
-----------------------------------------

Am still seeing by default outgoing traffic is blocked.

Git Revision: 2a5e5b2e62a9f35d674f016e02abc1da77b95745
Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git



root@r-3-VM:~# iptables-save
# Generated by iptables-save v1.4.8 on Thu Sep 20 13:27:33 2012
*mangle
:PREROUTING ACCEPT [2457:361780]
:INPUT ACCEPT [2457:361780]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [2164:384946]
:POSTROUTING ACCEPT [2164:384946]
:ACL_OUTBOUND_eth2 - [0:0]
:VPN_STATS_eth1 - [0:0]
-A PREROUTING -i eth1 -m state --state NEW -j CONNMARK --set-xmark 0x1/0xffffffff
-A PREROUTING -i eth2 -m state --state RELATED,ESTABLISHED -j CONNMARK --restore-mark --nfmask 0xffffffff --ctmask 0xffffffff
-A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2
-A FORWARD -j VPN_STATS_eth1
-A OUTPUT -p udp -m udp --dport 68 -j CHECKSUM --checksum-fill
-A ACL_OUTBOUND_eth2 -j DROP
-A VPN_STATS_eth1 -o eth1 -m mark --mark 0x525
-A VPN_STATS_eth1 -i eth1 -m mark --mark 0x524
COMMIT
# Completed on Thu Sep 20 13:27:33 2012
# Generated by iptables-save v1.4.8 on Thu Sep 20 13:27:33 2012
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [2159:384766]
:ACL_INBOUND_eth2 - [0:0]
:NETWORK_STATS_eth1 - [0:0]
-A INPUT -d 224.0.0.18/32 -j ACCEPT
-A INPUT -d 225.0.0.50/32 -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i eth0 -p tcp -m state --state NEW -m tcp --dport 3922 -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i eth2 -p udp -m udp --dport 67 -j ACCEPT
-A INPUT -i eth2 -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -i eth2 -p tcp -m state --state NEW -m tcp --dport 8080 -j ACCEPT
-A INPUT -i eth2 -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
-A INPUT -d 10.1.1.1/32 -i eth2 -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
-A FORWARD -j NETWORK_STATS_eth1
-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -s 10.1.0.0/16 ! -d 10.1.0.0/16 -j ACCEPT
-A FORWARD -d 10.1.1.0/24 -o eth2 -j ACL_INBOUND_eth2
-A ACL_INBOUND_eth2 -j DROP
-A NETWORK_STATS_eth1 -s 10.1.0.0/16 -o eth1
-A NETWORK_STATS_eth1 -d 10.1.0.0/16 -i eth1
COMMIT
# Completed on Thu Sep 20 13:27:33 2012
# Generated by iptables-save v1.4.8 on Thu Sep 20 13:27:33 2012
*nat
:PREROUTING ACCEPT [137:8982]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [45:3292]
-A POSTROUTING -o eth1 -j SNAT --to-source 10.147.49.33
-A POSTROUTING -s 10.1.1.0/24 -o eth2 -j SNAT --to-source 10.1.1.1
COMMIT
# Completed on Thu Sep 20 13:27:33 2012

                
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "sadhu suresh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460436#comment-13460436 ] 

sadhu suresh commented on CLOUDSTACK-106:
-----------------------------------------

Am not able to reopen the bug.but still see the same problem after stop and start the domr

root@r-3-VM:~# iptables-save | grep OUTBOUND
:ACL_OUTBOUND_eth2 - [0:0]
-A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2
-A ACL_OUTBOUND_eth2 -j DROP

                
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Reopened] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Sangeetha Hariharan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sangeetha Hariharan reopened CLOUDSTACK-106:
--------------------------------------------


Reopening this as per suresh's comments.
                
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Sangeetha Hariharan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sangeetha Hariharan updated CLOUDSTACK-106:
-------------------------------------------

          Component/s: Management Server
    Affects Version/s: pre-4.0.0
             Assignee: Anthony Xu
    
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Huang resolved CLOUDSTACK-106.
-----------------------------------

    Resolution: Fixed

Anthony checked in fixes to 4.0.
                
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Anthony Xu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459804#comment-13459804 ] 

Anthony Xu commented on CLOUDSTACK-106:
---------------------------------------

you might need to stop/start Domr to get latest script
                
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.

Posted by "Alex Huang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Huang updated CLOUDSTACK-106:
----------------------------------

    Fix Version/s: pre-4.0.0
    
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. 
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-106
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>         Environment: Tested with:
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>  
>            Reporter: Sangeetha Hariharan
>            Assignee: Anthony Xu
>             Fix For: pre-4.0.0
>
>
> Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added.
> Steps to reproduce the problem:
> Create a VPC.
> Create few networks in this VPC.
> Deploy few vms as part of this VPC.
> From with in these Vms , try to access any server like ping google.com
> We are NOT allowed access.
> Expected Behavior:
> By default , It should be open for all egress traffic until first egress rule is added. 
> root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND
> :ACL_OUTBOUND_eth2 - [0:0]
> :ACL_OUTBOUND_eth3 - [0:0]
> -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 
> -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 
> -A ACL_OUTBOUND_eth2 -j DROP 
> -A ACL_OUTBOUND_eth3 -j DROP
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira