Unable to forward specific domains through a upstream proxy
Andrew Rossiter via Privoxy-users <[email protected]> Sun, 24 Nov 2024 12:37:37 +0000
| Newsgroups | gmane.comp.web.privoxy.user |
|---|---|
| Message-ID | <CAAj-UCOTCcw-uU9JL0nMwkCrhds3dKhB3yzu=cnPmtha+U2_uw@mail.gmail.com> |
Hi all, I've been struggling for days now trying to get my privoxy to do the following. From what I can tell it should be possible (but its not working) - Any traffic destined to a specific url (preferably wildcarded) for example *.google.com to use upstream Socks5 proxy. - All other traffic to go directly (from the privoxy) I've tried so many variations now, with the below attempts, but it is only ever sending everything directly. #forward-socks5t /*.whatismyipaddress.com socks5://192.168.0.2:1080 . forward / . #forward-socks4a / 192.168.0.2:1080 whatismyipaddress.com #forward-socks5 / obsolete.whatsmyip.org socks5://192.168.0.2:1080 #forward-socks5 obsolete.whatsmyip.org 192.168.0.2:1080 . #forward-socks5 / http://obsolete.whatsmyip.org/ socks5://192.168.0.2:1080 . #forward-socks5 / 192.168.0.2:1080 obsolete.whatsmyip.org forward-socks5 .whatsmyip.org 192.168.0.2:1080 . forward / . none seem to be working at all. so i'm baffled Note that if i tell it to send ALL traffic via the upstream socks proxy, then it works fine and as expected. So it seems like it must be the way that privoxy is processing the config/domains. Unfortunately the logging isn't working either , despite having the following in the config, no file gets created logdir /etc/privoxy logfile privoxy.log Can anyone assist in letting me know what the correct syntax is as, despite reading the manual docs, I am still struggling (and also struggling to find help on it) Thanks in advance. Andrew