MTCNA Foundation Deck Practice Exam

Session length

1 / 20

Which command sets a DST NAT rule to forward TCP port 80 from WAN to internal host 192.168.10.10:80?

/ip firewall nat add chain=srcnat dst-address=<WAN_IP> protocol=tcp dst-port=80 action=dst-nat to-addresses=192.168.10.10 to-ports=80

/ip firewall nat add chain=dstnat dst-address=<WAN_IP> protocol=tcp dst-port=80 action=dst-nat to-addresses=192.168.10.10 to-ports=80

Forwarding external HTTP traffic to an internal server uses destination NAT. The router watches for packets arriving at the WAN IP on TCP port 80 and rewrites the destination to the internal host 192.168.10.10 on port 80 so the internal server handles the request.

The correct rule uses the dstnat chain, which is designed for inbound traffic redirection. It matches the destination address as the WAN IP, filters for TCP traffic on port 80, and performs a dst-nat to the internal address 192.168.10.10 with the internal port 80. This combination ensures that only external requests to the router’s external address on port 80 are forwarded to the internal web server.

Why the other approaches don’t fit: using srcnat would alter the source address for outbound traffic, not forward inbound requests. Using a destination address of the internal IP would apply to traffic already inside the network, not to external WAN traffic. Forwarding port 443 would handle HTTPS, not HTTP, and pointing the NAT to the WAN IP would send traffic back out rather than to the internal host.

/ip firewall nat add chain=dstnat dst-address=<WAN_IP> protocol=tcp dst-port=443 action=dst-nat to-addresses=192.168.10.10 to-ports=80

/ip firewall nat add chain=dstnat dst-address=192.168.10.10 protocol=tcp dst-port=80 action=dst-nat to-addresses=<WAN_IP> to-ports=80

Next question

Find the option that is right for you!

All options are one-time payments.

$12.50

30 day premium pass

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
👑$30.00 $87.50 usd

6 month DELUXE pass (most popular)

Everything with the 30 day premium pass FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • Everything included in the premium pass
  • $87.50 usd value for $30.00! You save $57.50!
  • + Access to the ultimate digital PDF study guide
  • + 6 months of premium pass access
  • + Priority support
$12.50 $18.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy