Question : Policy-based routing using port numbers? Is it possible?

Hello All,

I have a router that has two gateways connected to Fast Ethernet 0 and Fast Ethernet 1. I want to be able to route traffic to the second gateway via and access list using port numbers. So far I can only create and access-list based off IP address ex. access-list 4 permit 10.1.2.25 and use a route map to bind it to the Lan interface. I see no where to use port numbers. My IOS version is 12.4(6)T9. Do I need a different IOS or version upgrade? If not how do I accomplish routing based off ports numbers. My reason is I want all traffic except specified port numbers to go to a VPN tunnel. Thank you.

                                                                                                       Greenbeanx
                                                                       

                                                                             

Answer : Policy-based routing using port numbers? Is it possible?

Use an extended access-list to specify port numbers:

access-list 104 permit any any eq 80
Random Solutions  
 
programming4us programming4us