Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Port redirection

Hi,

I have in my company a 2801 router with ADSL(WIC ADSL) and ISDN(WIC 1T)interfaces.

I want to know how we could configure a port redirection.

I want that the 80(www) traffic pass through the ADSL interfaces and FTP,SMTP traffic through the serial(ISDN) interfaces.

In advance Thank you very much

6 REPLIES
Silver

Re: Port redirection

Yeah you could.

Use PBR's Policy based routing.

!

route-map PBR permit 10

match ip address 101

set ip next hop x.x.x.x

!

route-map PBR permit 20

match ip address 102

set ip next hop y.y.y.y

!

route-map PBR permit 30

!

access-list 101 extended permit tcp any any eq 80

access-list 102 extended permit tcp any any eq smtp

Apply the ip policy route-map command on the interface connected to your LAN.

Your next hop determines where you want to send traffic through to adsl,isdn etc.

Cheers

Hoogen

Do remember the above configuration is just what came into my mind there might be syntax errors, but you can work that out ;)

New Member

Re: Port redirection

i try it but it doesn't work

route-map PBR permit 10

match ip address 125

set ip next hop ip@ of the ADSL

route-map PBR permit 20

match ip address 130

set ip next hop ip @ of ISDN

access-list 125 extended permit tcp any any eq 80

access-list 130 extended permit tcp any any eq smtp

interface Fastethernet (LAN)

ip policy route-map PBR

!

ip classless

ip route 0.0.0.0 0.0.0.0 ISDN 0/2/0 permanent

ip route 0.0.0.0 0.0.0.0 ATM0/1/0 permanent

is the route correcte

do have any idea please :)

and how can i know the ip @ that gat the adsl interface (it was configured as easy ip )

Silver

Re: Port redirection

could you explain more what problem is happening now?

Hoogen

New Member

Re: Port redirection

when i configure the next hope when i applay the policy to the lan inerface all trafic is stoped we don't have www or anything else

do u think that the default route are configured correctly

and by the way how could i know the ip addresse that get the adsl interface (i was given dynamicly by the ISP)

New Member

Re: Port redirection

.

Re: Port redirection

Hi

i would Recommend you to read the bellow document which will guide you through a configuration example and describe some concepts as well

https://supportforums.cisco.com/docs/DOC-8313

good luck

if helpful Rate

446
Views
0
Helpful
6
Replies
CreatePlease login to create content