Hi!
I try to describe my understanding out the situation more closely and
hope you can guide me further
1. since packets are generated locally packet filter match them only on
outgoing direction
2. locally generated packets are routed according to the default routing
table
3. using route-to ($if_ext $if_ext_gw) construct on the pass out rule i
can't change the interface the packet it getting out, its already
decided, i can only choose the next hop gateway address with-in the
network the $if_ext is in
4. using routing table with different default gateway with locally
generated packets seem not to be a solution, i guess its also too late
because the match is actually happening on the outgoing direction and
routing has already happened
match log user _squid tag FROM_SQUID rtable 1
Imre
roberth wrote: