![]() |
Cisco NATHome Contact IFM |
This recipe shows how to configure a Cisco router to forward traffic received on one IP address and port to another IP address and port. On DSL routers in New Zealand this process is commonly known as port forwarding. The process is also sometimes described as NAT or PAT
To cut a long story short, this is the process you want to use if you have a Cisco DSL router, and have an internal mail or WWW server.
WARNING: This should not be attempted by people not experienced with Cisco IOS. If you don't understand something here, get a professional to help you.
There are two steps to getting the port forwarding to work:
In the cookbooks on this WWW site, access-list 101 is usually used to control what is allowed into the router from the Internet. You need to add an entry for your traffic just above the current permit entries. A modified access-list to allow SMTP (tcp port 25) and HTTP traffic (tcp port 80) might look like:
Substitute <inside ip address> for the IP address of your server.
