Cisco Systems PAT/NAT ACL configuration question

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
PAT/NAT ACL configuration question pbass83 05-06-08
Posted by pbass83 on May 6, 2008, 11:23 am
Please log in for more thread options
Hi everyone,
I setup a PAT overload on a 2611 router to allow some workstations
internet access. I also want to setup a static NAT for a web/ftp
server. Is it possible to do both simultaneously without opening up
everything?
pete

Posted by News Reader on May 6, 2008, 7:39 pm
Please log in for more thread options
pbass83 wrote:
> Hi everyone,
> I setup a PAT overload on a 2611 router to allow some workstations
> internet access. I also want to setup a static NAT for a web/ftp
> server. Is it possible to do both simultaneously without opening up
> everything?
> pete

Absolutely.

The following is not a complete configuration; just some ACLs:

ip access-list extended nat-src
remark --- Inside source addresses dynamically translated via PAT
overload.
permit ip 192.168.1.0 0.0.0.255 any

ip nat inside source list nat-src interface Ethernet1 overload

ip nat inside source static tcp 192.168.1.50 21 interface Ethernet1 21
ip nat inside source static tcp 192.168.1.50 80 interface Ethernet1 80

Typically, you'd use an ACL on the inside interface to address outbound
traffic, with inspection to facilitate the return path.

Likewise, you'd use an ACL on the outside interface to address inbound
traffic (i.e.: to your server), with inspection to facilitate the return
path.

Best Regards,
News Reader

Posted by pbass83 on May 16, 2008, 8:36 pm
Please log in for more thread options
> pbass83 wrote:
> > Hi everyone,
> > I setup a PAT overload on a 2611 router to allow some workstations
> > internet access. I also want to setup a static NAT for a web/ftp
> > server. Is it possible to do both simultaneously without opening up
> > everything?
> > pete
>
> Absolutely.
>
> The following is not a complete configuration; just some ACLs:
>
> ip access-list extended nat-src
> remark --- Inside source addresses dynamically translated via PAT
> overload.
> permit ip 192.168.1.0 0.0.0.255 any
>
> ip nat inside source list nat-src interface Ethernet1 overload
>
> ip nat inside source static tcp 192.168.1.50 21 interface Ethernet1 21
> ip nat inside source static tcp 192.168.1.50 80 interface Ethernet1 80
>
> Typically, you'd use an ACL on the inside interface to address outbound
> traffic, with inspection to facilitate the return path.
>
> Likewise, you'd use an ACL on the outside interface to address inbound
> traffic (i.e.: to your server), with inspection to facilitate the return
> path.
>
> Best Regards,
> News Reader

News Reader,
Thanks very much for the advice. I

pete

Similar ThreadsPosted
E1 Configuration question September 8, 2006, 3:31 pm
configuration question October 23, 2006, 7:46 pm
871 configuration question January 11, 2007, 1:23 am
PAT/NAT ACL configuration question May 6, 2008, 11:23 am
[very simple question] configuration December 17, 2005, 9:23 am
tacplus configuration question May 11, 2007, 10:30 pm
ASA5505 Configuration Question June 13, 2008, 5:08 pm
NAT Configuration question: verifying availability before NAT July 19, 2005, 7:13 am
Configuration register setting question September 7, 2005, 11:10 pm
1721 configuration question - please bear with me January 10, 2007, 6:30 pm
Cisco 2948G-L3 Configuration Question November 29, 2007, 12:02 pm
Newbie question - PPP Configuration on Cisco routers June 1, 2006, 3:14 am
routing question: configuring 2 FE interfaces NON BGP configuration March 9, 2007, 1:25 pm
Configuration reverted to previous configuration after power loss March 3, 2006, 11:14 am
PEAP Configuration Woes - PEAP configuration help December 19, 2005, 3:41 pm