Petri IT Knowledgebase Forums
 

Petri.co.il forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Networking > Cisco Routers & Switches How-to
Petri.co.il is happy to award auglan the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read

Notices

NAT or Firewall problem with a Cisco 2811

NAT or Firewall problem with a Cisco 2811

this thread has 4 replies and has been viewed 4421 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd March 2007, 21:20
panikos@natech.gr panikos@natech.gr is offline
Casual
Casual
 
 Join Date: Mar 2007
  6 month star 12 month star
 Posts: 1
 Reputation: panikos@natech.gr is on a distinguished road (10)
Default NAT or Firewall problem with a Cisco 2811

Hello everybody,

I have a problem setting up a CISCO 2811 router. The configuration of the router is as follows:

1) Inside Interface 0/0 with IP 192.168.1.0
2) Inside Interface 0/1 with IP 192.168.3.0
3) Outside interface with IP 213.5.xxx.xxx

Firewall
On the Inside Interface 0/1 (192.168.3.0) a DMZ is configured and there is only one server (web and e-mail) attached whose IP address is 192.168.3.3

On the other interface (192.168.1.0) the companies LAN is attached.

NAT
NAT translates
1) all the internal IPs to 213.5.xxx.xxx and
2) the web/mail server 192.168.3.3 to an additional public IP 212.89.xxx.xxx


The problem is that when I'm trying to hit the public IP 212.89.xxx.xxx from a computer, member of company's LAN (192.168.1.xxx) I can not, although I can hit any other public IPs on the Internet. That means that from inside the company's LAN I can't visit company's web page or receive e-mails when I use the public IP of the server (as POP3/SMTP/HTTP). Because a lot of the employees are using laptops, they need to access their e-mail accounts either they are inside or outside the company's LAN. So they need to use of the public IP of the server without being needed to change it to the internal IP when they are attached on company's LAN.

Thank you in advance. I would appreciate any help on this problem.

Nikos
  #2  
Old 2nd April 2007, 21:55
daviddavis's Avatar
daviddavis daviddavis is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Hilton Head, South Carolina, USA
 Posts: 685
 Reputation: daviddavis is a jewel in the roughdaviddavis is a jewel in the roughdaviddavis is a jewel in the roughdaviddavis is a jewel in the rough (348)
Default Re: NAT or Firewall problem with a Cisco 2811

Can they not talk to the DMZ server using the public IP address? Can they communicate with it using the private 192.168.1.0, network address?

Assuming they can communicate with the email/web server in the DMZ using the private IP but not the public, here is how I solved this type of issue on my network-
- create a DNS entry for the email/web server on the DMZ on your internal DNS server with the same name as the external DNS entry for that server. That way, when the laptops are on the internal LAN, they do a DNS lookup with the internal DNS server and it resolves to the private IP. When they are on the Internet and do a DNS lookup, it resolves to the public IP.

Does that help out?

Thanks,
__________________
David Davis - Petri Forums Moderator & Video Training Author
Train Signal - The Global Leader in IT Video Training
TrainSignalTraining.com - Free IT Training Products
Personal Websites: HappyRouter.com & VMwareVideos.com
  #3  
Old 9th April 2007, 13:55
royst royst is offline
Casual
Casual
 
 Join Date: Apr 2007
  6 month star 12 month star
 Posts: 1
 Reputation: royst is on a distinguished road (10)
Default Re: NAT or Firewall problem with a Cisco 2811

Hi Nikos

You can not access your public IP that is NATed from the outside to an inside address using the public IP. If you are running Active Directory and have a DNS server you can setup DNS pointer to the internal IP of your web and e-mail server.

Hope this helps
  #4  
Old 12th April 2007, 06:18
ssckrp ssckrp is offline
Casual
It's not a coincidence
 
 Join Date: Oct 2006
  6 month star 12 month star
 Location: chennai,india
 Posts: 84
 Reputation: ssckrp is on a distinguished road (23)
Default Re: NAT or Firewall problem with a Cisco 2811

Hi

When you ping the public IP of web/mail server the PIX will forward the traffic to router as it wont know about the traffic is destinated for its own NATted IP of web/mail server.

Inorder to have PIX to understand that this traffic is for its own NATed IP you need to configure the following in PIX


alias(inside) 212.89.xxx.xxx 192.168.3.3 255.255.255.255


You can verify this from the following URL

http://www.cisco.com/warp/public/110/alias.html

Pls do let me know the feed back as its interesting to know about the status.

With Best Regards

Prabu
  #5  
Old 16th April 2007, 05:27
MVP bdesmond-mvp bdesmond-mvp is offline
MVP
MVP
 
 Join Date: Dec 2006
  6 month star 12 month star
 Posts: 76
 Reputation: bdesmond-mvp has a spectacular aura aboutbdesmond-mvp has a spectacular aura aboutbdesmond-mvp has a spectacular aura about (231)
Default Re: NAT or Firewall problem with a Cisco 2811

You need to be running a seperate DNS infrastructure internally. Setup the zone on there and substitute internal IPs for external and you'll be good to go. This is sometimes referred to as a "split brain" DNS design.

Also, you reference your outside interface being 213.5.x.x and the NATed Ips being 212.89.x.x. I'm assuming your upstream is statically routing that 212.89 block down to you or you're speaking BGP to them?
__________________
Thanks,
Brian Desmond
Microsoft MVP - Directory Services
www.briandesmond.com
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cisco pix vpn connection problem bluecat Cisco Routers & Switches How-to 4 7th January 2007 03:12
How to configure a Cisco Router, Switch, or Firewall from the CONSOLE port daviddavis Cisco Routers & Switches How-to 0 18th December 2006 23:27
Using Cisco 2811 to allow receipt of SMTP from only 4 external IP addresses willdem34 Cisco Security – PIX/ASA/VPN 1 15th September 2006 16:12
ISA 2004 & Cisco Firewall ??? Mihail Kravsun Windows Server 2000 / 2003 2 16th February 2006 04:15
Cisco PIX Firewall and VPN lima DSL, Cable, and other Broadband Issues 4 30th January 2006 15:19


All times are GMT +3. The time now is 21:57.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri