I will do my best to explain the situation I am working with, and hopefully someone out there in the Internets can help.
I have a private network (10.1.1.0/24) that is routing through a squid proxy box. This proxy book has an inside interface (10.1.1.1) and an outside interface (66.x.x.244/27) and it works nicely in this configuration.
What I am trying to do is insert a RB inbetween the public interface and the ISP. I have configured ether2 as the “inside” interface (66.x.x.246/27) and set the default gateway of the squid box tooint to that address. I then have a “outside” interface (66.x.x.245/27) that routes to the ISP.
This works nicely as is passing traffic to and for as expected. Now, what I need help with is that I want to take all port 80 traffic and direct it to a proxy server that lives outside of the network. The reasons for me doing this are not the issue, what is the issue is that when I put a ip firewall mat rule in to redirect, nothing happens. Traffic still flows, but port 80 traffic is not being directed.
I wonder if the squid proxy is causing an issue or if there is something else at play. I am onside with the customer for the next day, so any ideas would be welcome.
cbrown, thank you for your reply. After reading up on the issue, I do not believe that is going to solve my issue. Here is why; I am wanting to use the proxy within the RB to handle the redirect for me. Here is some config for you to look at:
*** of note .. ether2 is the slave of ether1, when I turn this off, traffic stops flowing and I would like to understand why. Second, I am wanting to take all port 80 traffic and send it to a proxy server that is off net. I have had this configuration working before, but the network routing was between two subnets and not in this configuration ***