QuestionQ39

VerifiedNetworking

As a network architect, you deployed a public subnet on your Virtual Cloud Network (VCN) with the following security list:

Question Image

You also created the network security group (NSG) shown here and assigned it to your bastion host:

Question Image

You confirmed that routing is correct, but you cannot connect when attempting to SSH to the VM from home over the Internet.

What could be the problem?

Explanation

SSH uses TCP destination port 22. The security list allows Internet ingress only on TCP port 80, while the NSG allows TCP port 22 only from 10.0.2.0/24. Therefore, no applicable ingress rule permits SSH from an Internet-based home address. OCI security-list rules apply to all VNICs in the associated subnet, and traffic is allowed when any applicable security-list or NSG rule allows it; neither rule set allows public TCP/22.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!