[
https://issues.apache.org/jira/browse/CLOUDSTACK-5144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13856327#comment-13856327
]
Wei Zhou commented on CLOUDSTACK-5144:
--------------------------------------
Jayapal,
I checked our 4.2.1 platform (Advanced network with Security groups) just now,
it works.
On our hosts, the iptables is like this
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source
destination
972087 93523284 BF-cloudbr1 all -- * cloudbr1 0.0.0.0/0
0.0.0.0/0 PHYSDEV match --physdev-is-bridged
0 0 BF-cloudbr1 all -- cloudbr1 * 0.0.0.0/0
0.0.0.0/0 PHYSDEV match --physdev-is-bridged
0 0 DROP all -- * cloudbr1 0.0.0.0/0
0.0.0.0/0
0 0 DROP all -- cloudbr1 * 0.0.0.0/0
0.0.0.0/0
0 0 ACCEPT all -- * virbr0 0.0.0.0/0
192.168.122.0/24 state RELATED,ESTABLISHED
0 0 ACCEPT all -- virbr0 * 192.168.122.0/24
0.0.0.0/0
0 0 ACCEPT all -- virbr0 virbr0 0.0.0.0/0
0.0.0.0/0
0 0 REJECT all -- * virbr0 0.0.0.0/0
0.0.0.0/0 reject-with icmp-port-unreachable
0 0 REJECT all -- virbr0 * 0.0.0.0/0
0.0.0.0/0 reject-with icmp-port-unreachable
1974403 194168006 BF-cloudVirBr108 all -- * brem1-108 0.0.0.0/0
0.0.0.0/0 PHYSDEV match --physdev-is-bridged
10 3400 BF-cloudVirBr108 all -- brem1-108 * 0.0.0.0/0
0.0.0.0/0 PHYSDEV match --physdev-is-bridged
10 3400 DROP all -- * brem1-108 0.0.0.0/0
0.0.0.0/0
0 0 DROP all -- brem1-108 * 0.0.0.0/0
0.0.0.0/0
> [Automation]: Basic Zone Security Groups - SSH to VM is allowed even when
> there is no ingress rule defined for the security group
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-5144
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5144
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Network Controller
> Affects Versions: 4.3.0
> Reporter: Gaurav Aradhye
> Assignee: Wei Zhou
> Priority: Critical
> Labels: automation
> Fix For: 4.3.0
>
> Attachments: MS-Log.txt, agent.log, ipset-L output.txt,
> iptables-rules.txt
>
>
> In Basic Zone Setup:
> 1. Create an account
> 2. Deploy a VM in that account
> 3. Verify that any ingress rule is not defined for the security group
> belonging to the account
> 4. Try SSH to VM using the nic ipaddress from external client
> SSH is successful to the VM where as it should fail when the ingress rule is
> not defined.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)