Hi,

i'm facing a problem where I need to reroute requests made by a
squid-cache.
I already tried to add a route-to statement to my pf.conf:

        pass out on ep2 route-to ep0:192.168.110.241 from any to any
port 80 flags S/SA keep state
        ( where ep2 is the "external" interface, ep0 is the internal
"if" )

but I received a syntax error ...
                        
my expectation was that the outgoing traffic to any-ip:port 80 will be
catched by the above rule and routed to 192.168.110.241 - which is a
second  gateway to the "internet" using an el-cheapo-dsl-connection.

therefor - is it possbile to "reroute" traffic at the outgoing
(externel) interface to destinations at networks reachable only via the
internal interface ?

In any case - where is the mistkake in my thought ?

Thanks in advance,

        Stefan

Reply via email to