Solved

Cisco 2620 Router NAT Port 80 Problems

Posted on 2003-11-11
1
273 Views
Last Modified: 2012-05-04
I want to NAT only specific ports to my pc in order to be more secure.

When I NAT one of our external IP addresses to my computer everything works fine. And when i go to Whatismyip.com i get the IP that i NAT'ed to my computer.

When I NAT only certian ports (80, 21, 25, 3389, 2114, 4099, 5190, 5000, 5001, 110). Everything works fine, i can Terminal into my pc, and view my website from home.
However when i go to whatismyip.com i get the IP of the Serial port on my router, and not the same IP as if did a Full NAT.

This wouldnt be that big of deal but I can not access my website that resides on my computer. If I do the complete NAT i can access the site. If i do the specific ports I can not access the site from my computer only pc's external, or going through our firewall.

I hope this makes sence to someone out there.

If you need any more info let me know

Thanks!
0
Comment
Question by:Mohonk
1 Comment
 
LVL 79

Accepted Solution

by:
lrmoore earned 250 total points
ID: 9724887
If it works the way you want it to with a full 1-1 static nat, but not if you do port-address translation only, and your goal is simply more security, then all you really need to do is to create a good inbound-access-list and keep the 1-1 static nat.

Example:
ip access-list extended inbound
 permit tcp any any established
 permit udp any eq 53 any
 permit tcp any host 1.2.3.4 eq www
 permit tcp any host 1.2.3.4 eq smtp
 permit tcp any host 1.2.3.4 eq 3389
 permit tcp any host 1.2.3.4 eq ftp
<etc>
 deny ip any any log  <-- the 'log' keyword here makes troubleshooting easy and lets you log attempts to gain access to other ports.

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now