Re: IOS NAT



Thank you for your reply. I may have gotten a solution from another source.
I'm not yet sure if this will work until I test it.

To permit a range through the firewall:
access-list 120 permit <tcp/udp> any any range 10000 20000
int <outside interface>
ip access-group 120 in

To NAT the range of ports:
ip nat inside source static 1.1.1.1 2.2.2.2 route-map NAME extendable
access-list 130 permit tcp any any range 10000 20000
route-map NAME permit 10
match ip address 130

_________________________________
Todd Bennett
BennTech

"bod43" <Bod43@xxxxxxxxxxxxx> wrote in message
news:c8b45c2b-bcb1-4439-8c38-fe3bd4a7d234@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 31 Mar, 19:12, "Todd Bennett" <tabennett(nospam)@benntech.net>
wrote:
I need to NAT a range of ports from a public IP to a private IP. I
typically use the form:

ip nat inside source static tcp i1.i2.i3.i4 22 p1.p2.p3.p4 22 extendable

I could make quite a few of these statements and have it work, but I want
to
specify a range of ports. Does anyone know the syntax to do this?

I have not needed to do this and have not researched it
however I don't believe that this is available.

If your lists are complex perhaps you might manage them
in Excel and copy paste into the router.

Such a facility is available for address ranges but not
as far as I know for port ranges.


.



Relevant Pages

  • Re: new IOS NAT problem
    ... ip nat inside source static 10.0.20.2 xxx.xxx.xxx.162 ... ip nat inside source route-map nonat interface Dialer1 overload ... access-list 105 permit ip 10.0.20.0 0.0.0.255 any ...
    (comp.dcom.sys.cisco)
  • Pros/cons of ip nat "list" vs "route-map"
    ... Recently I've gotten more into doing NAT at sites. ... access-list 2 permit 192.168.25.0 0.0.0.255 ... ip nat inside source route-map HUGHES interface Ethernet1/0 overload ... ip nat inside source route-map SEABREEZE interface Ethernet0/0 ...
    (comp.dcom.sys.cisco)
  • Re: NAT question
    ... Thanks very much for the help but the 'ip nat service ras' does not ... ip nat source route-map No-BC-Internet interface Dialer0 overload ... permit ip 10.0.0.0 0.0.255.255 any ...
    (comp.dcom.sys.cisco)
  • Re: Cisco 877 Internet problems
    ... You need to finish off configurint NAT. ... route-map RM.nat permit 10 ... ip nat inside source route-map RM.nat interface Dialer0 overload ...
    (comp.dcom.sys.cisco)
  • Re: 3640 some sites slow....
    ... for the Internet connection that's doing NAT and VPN) A 2821 should work ... ip nat inside source static udp 192.168.10.24 21000 interface Dialer1 ... permit ip 172.25.0.0 0.0.255.255 any ... permit tcp any eq ftp-data any ...
    (comp.dcom.sys.cisco)