04-04-2012 05:58 AM - edited 03-07-2019 05:57 AM
Hello,
I have a router with two interfaces what i need to filter the HTTP traffic from one interface and the rest of the traffic through the other on my cisco router 2800. Can anyone help me with this?
04-04-2012 12:26 PM
If you are trying to block HTTP traffic from passing THROUGH this router, try this
:
ip access-list extended NO-HTTP
deny tcp any any eq 80 log
perimt ip any any log
:
interface f0/0
ip access-group NO-HTTP in
:
If you are trying to block HTTP and HTTPS TO this router, try this
:
no ip http server
no ip http secure-server
HTH
Frank
04-05-2012 07:52 AM
Hello all,
well actually i am not trying to block the HTTP traffic i am trying to force it to passe through one interface and the rest of the traffic through another with a fall back in case one of my connexion goes down
let say that i have s0/0/0 and s0/1/0
put http through s0/0/0 and the rest of the traffic through s0/1/0
thank you
04-06-2012 05:53 PM
Hey Mohamed,
You have several options, the easiest would be policy based routing (PBR), and/or floating static routes.
Let us know how it works!!!
Tks
Frank
PBR Link
Floating Static routes
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide