So if you have a router with S0 to the outside and e0 to the inside.
Suppose you have an inside network of 10.10.10.0/24, where 10.10.10.30 is
your webserver.
Suppose the IP addres of S0 is 172.16.0.1

ip nat inside source list 2 interface serial 0 overload
ip nat inside source static tcp 10.10.10.30 80 172.16.0.1 80 

interface ethernet 0
ip nat inside

interface serial 0
ip nat outside

access-list 2 permit 10.10.10.0 0.0.0.255

That should work.

Peter


> -----Original Message-----
> From: [EMAIL PROTECTED] (John Nemeth)
> [mailto:nobody@;groupstudy.com]
> Sent: Thursday, November 14, 2002 5:49 AM
> To: [EMAIL PROTECTED]
> Subject: NAT overload vs. static [7:57420]
> 
> 
> This is something that is easily done with most host based
> implementations of NAT.  The objective is to use a single outside
> address.  I want to NAT a network.  However, there is a webserver on
> the inside which people on the outside need to be able to reach.  I
> want to be able to redirect traffic sent to TCP port 80 on the outside
> address to the web server.  I realise I can do this with a static
> mapping, but this would require an outside address dedicated 
> to the web
> server and I want to do this without using more then one outside
> address.  I've gone through the IOS docs on sections dealing with NAT
> and didn't find any way to do this.  Does anybody have any
> suggestions?




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=57429&t=57420
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to