hey Loges,
Why would you create a port forwarding rule to then disallow it?
I am not sure but I think the rule makes the iptables rules be set as well.

On Fri, Apr 28, 2023 at 9:24 AM Lokeswaran T <lokeswa...@gmail.com> wrote:

> Hi All,
>
> Here is my scenario.
>
> I have created a VPC then create a new ACL list name my-ACL and added the
> below rules.
>
> *For Egress:*
>
> ALL Egress allow
>
> *For Ingress:*
>
> CIDR: 0.0.0.0/0
> Protocol: TCP
> From Port: 3389
> To Port: 3389
>
> Then I created two Windows VMs under this new network. Then I acquire a
> Public IP address and add the below port forwarding.
>
> For VM1:
>
> Private port: 3389
> Public Port: 3389
>
> For VM2:
>
> Private Port: 3389
> Public Port: 2812
>
> In my scenario, I need to access only VM1 through RDP using the public IP
> address using the 3389 port. But, I'm able to access the VM2 with 2812
> also.
>
> But in my network ACL, I have allowed only port 3389.
>
> Can anyone help me how to resolve this?
>
> Regards,
> Loges
>


-- 
Daan

Reply via email to