Assume that we have an one sngle public IP address and we have Web and E-mail server that need to be accessed from this IP.
Request from Port 80 will be redirected to 10.0.0.12
Request from Port 25 will be redirected to 10.0.0.14
Configuration:
Router(config)# interface ethernet 0
Router(config-if )# ip address 10.0.0.1 255.255.255.0
Router(config-if )# ip nat inside
Router(config)# interface serial 0
Router(config-if )# ip address 85.75.95.111 255.255.255.252
Router(config-if )# ip nat outside
Router(config)# ip nat inside source static tcp 10.0.0.12 80 100.100.100.1 80
Router(config)# ip nat inside source static tcp 10.0.0.14 25 100.100.100.1 25
Tuesday, February 24, 2009
Cisco IOS Port Redirection Configuration
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment