A network engineer needs to configure static Port Address Translation (Port Forwarding) on a Cisco IOS router to allow public users on the Internet to access an internal HTTP web server. The internal web server is assigned private IPv4 address and listens on TCP port . External connections should be directed to the router's public IPv4 address on TCP port .
What exact Cisco IOS global configuration command must be entered to establish this static NAT mapping?
Cevap: ip nat inside source static tcp 10.1.1.50 80 203.0.113.10 8080
Cevap
ip nat inside source static tcp 10.1.1.50 80 203.0.113.10 8080
The correct Cisco IOS command for configuring static Port Address Translation (port forwarding) follows the structure: 'ip nat inside source static <protocol> <local-ip> <local-port> <global-ip> <global-port>'. Therefore, entering 'ip nat inside source static tcp 10.1.1.50 80 203.0.113.10 8080' maps incoming connections on public TCP port 8080 to internal server 10.1.1.50 on port 80.
Adım Adım Çözüm
Anahtar Kavram
Static Port Address Translation (Static PAT / Port Forwarding)