Static route from external IP to internal IP
Posted on 2007-08-07
I would like help adding the appropriate commands to map one of our external IPs to and internal IP. From the outside I want the computer to be seen using the external IP but still have an internal IP on our network. I want all inbound and outbound traffic for my internal IP to go through my external IP. I have multiple IPs setup in my router already so this is just an extra IP that I'm setting up on a machine that I want to be wide open to the outside.
I have "ip nat inside source static tcp ..." commands setup for my other IPs with specific ports. For this IP I want all ports open.
I also haev an access-list setup for inbound traffic which I assume I need to add a map for all traffic comming in on that IP. This is the header for the access-list
ip access-list extended FILTERS_INBOUND_ON_EXTERNAL
For outbound I'm only blocking smtp for any computers other than our server. The last line of the access-list for external traffic is "permit ip any any".
I thought I had it working earlier but I went to a website that showed what my external IP was and it was showing the main IP of the router as it's IP instead of the IP I was trying to map my machine to.
For my IP to show up as the IP I'm trying to map it to do I also have to add a command to not NAT my internal IP?