Hallo! I have OpenBSD v. 4.7 i386 firewall with two outgoing internet connections (of which one is default gateway and the other could be used with route-to, for example) and serveral networks behind it. On the firewall runs Squid process as user _squid and it does transparent http proxy for inner networks. I tried to read man route and man pf.conf but cant figure out on my own whether it is possible or how to set up my firewall so that Squid's requests go out thru that internet connection which isn't default gateway.
I know it is possible to use different routing tables and pf lets act on locally generated packets based on the respective process UID but i just cant add them up to accomplish what i described. Help would be appreciated! :) Best regards, Imre