Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Cisco 2620 Router NAT Port 80 Problems

Posted on 2003-11-11
1
Medium Priority
?
279 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 79

Accepted Solution

by:
lrmoore earned 750 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
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…
Suggested Courses

618 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