CV0-003 · Question #887
A systems administrator deployed a new web application in a public cloud and would like to test it, but the company's network firewall is only allowing outside connections to the cloud provider networ
The correct answer is B. Create a VPN tunnel. F. Create a SSH tunnel.. With only TCP port 22 permitted through the firewall, the administrator can leverage SSH tunneling to forward application traffic or configure a VPN solution to operate over TCP port 22.
Question
A systems administrator deployed a new web application in a public cloud and would like to test it, but the company's network firewall is only allowing outside connections to the cloud provider network using TCP port 22. While waiting for the network administrator to open the required ports, which of the following actions should the systems administrator take to test the new application? (Choose two.)
Options
- ACreate an IPSec tunnel.
- BCreate a VPN tunnel.
- COpen a browser using the default gateway IP address.
- DOpen a browser using the localhost IP address.
- ECreate a GRE tunnel.
- FCreate a SSH tunnel.
How the community answered
(29 responses)- A10% (3)
- B79% (23)
- D7% (2)
- E3% (1)
Why each option
With only TCP port 22 permitted through the firewall, the administrator can leverage SSH tunneling to forward application traffic or configure a VPN solution to operate over TCP port 22.
IPSec uses UDP ports 500 and 4500 along with IP protocol 50 (ESP), none of which are TCP port 22, so the firewall would block all IPSec tunnel negotiation and traffic.
A VPN tunnel can be configured to run over TCP port 22, allowing the administrator to encapsulate and forward application traffic through the sole open port, establishing a functional encrypted path to the cloud-hosted web application.
Browsing to the default gateway IP address does not bypass the firewall restriction or redirect traffic to the cloud-hosted application running on a separate host and different port.
The localhost address (127.0.0.1) refers only to the local machine, not the remote cloud-hosted application, so no external application traffic is reachable this way.
GRE encapsulates traffic using IP protocol 47, not TCP port 22, and would be blocked by a firewall permitting only TCP port 22.
SSH natively operates on TCP port 22 and supports local port forwarding, enabling the administrator to tunnel HTTP or HTTPS traffic through the SSH connection to test the web application without waiting for additional firewall ports to be opened.
Concept tested: SSH port forwarding and VPN tunneling through restrictive firewalls
Source: https://www.ssh.com/academy/ssh/tunneling/example
Topics
Community Discussion
No community discussion yet for this question.