Re: privoxy and routing
kasak <[email protected]>
| Newsgroups | gmane.os.openbsd.misc |
|---|---|
| Message-ID | <[email protected]> |
06.08.2026 09:26, kasak пишет:
> Hello misc! I'm sorry disturbing list again with my weird routing
> questions again.
>
> I have wg tunnel, what I am using as gateway for squid.
>
> In squid I have "tcp_outgoing_address 192.168.50.2"
>
> And in pf.conf I have
>
> pass out from wg1 route-to 192.168.50.1 scrub (max-mss 1300)
>
> That was great advice from sthen, he's a genius!
>
> Now, just for fun, i tried to repeat this trick with privoxy, but,
> because it does not have option like "tcp_outgoing_address", it's not
> so simple.
>
> The first thing i tried, is just bind privoxy to listen to
> 192.168.50.2:8118.
>
> It does not work. Is still use default gateway instead of wg1.
>
> Second i tried to make rule like this:
>
> pass out proto { tcp, udp } user _privoxy route-to 192.168.50.2
>
i'm sorry for typo. of course gateway here was 192.168.50.1
> It does not work either.
>
> I asked AI the same question, and it immediately started to hallucinate.
>
> So maybe there is someone with natural intelegence here, who can do
> the trick?
>
> Thanks in advance for all your time
>