Re: Unable to forward specific domains through a upstream proxy
Fabian Keil via Privoxy-users <[email protected]> Mon, 25 Nov 2024 14:37:39 +0100
| Newsgroups | gmane.comp.web.privoxy.user |
|---|---|
| Message-ID | <[email protected]> |
--===============3986496806541809239== Content-Type: multipart/signed; boundary="Sig_/_IL=LX=9s0bMAXH748yLV+F"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/_IL=LX=9s0bMAXH748yLV+F Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Andrew Rossiter via Privoxy-users <[email protected]> wrote o= n 2024-11-24 at 12:37:37: > 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) >=20 > - 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) >=20 > I've tried so many variations now, with the below attempts, but it is only > ever sending everything directly. [...] > forward-socks5 .whatsmyip.org 192.168.0.2:1080 . > forward / . The last match wins so try: forward / . forward-socks5 .whatsmyip.org 192.168.0.2:1080 . > 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 >=20 > logdir /etc/privoxy > logfile privoxy.log You'll additionally need the debug directive: https://www.privoxy.org/user-manual/config.html#DEBUG Note that if Privoxy is started with the --no-daemon option it logs to the controlling tty ignoring the logfile directive. This is commonly done on GNU/Linux systems using systemd. Fabian --Sig_/_IL=LX=9s0bMAXH748yLV+F Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEETzbBfzgWkTZUoehQaRgikYuiNxwFAmdEfaMACgkQaRgikYui NxyBKhAAqaBsP1duHR2UKUq7tit+dGmS1tqfQQ4B3eqYOV6GSVgAZXKaQlxOQy6Z 2lmNYMtKHK4B/O+ffffdNwPG4nhcQCMPjWiiTvzESw/qiJu7gQ+Zgpl58qHNRLlY vZEr6YmW2WQQvMSrAEqyinmq8PUZinsEah5ObHJFQCC3iroP5f8oECQCK1mJnN86 P3kFbdkIxf6Q/tCoqdzSND1rngh/Gp4jT1O9mXXBF7yiP69AOh6yeTwRsLxwpJ8G 9dH8sF0odZKSxiQ7Aw4DU5aD1e0wUY2SSfqdbu2T/s+Hh555NN8J1FNd7sij8ZW7 bqD+elF6ezXtPGOG0C92ZVDEAWU7p9Z8r/Nt54Lk+YdvOFgVJ3UV2Qm136bbXOea xVSSN7nOLpECgk9gDy3hlx5z2fQNftyKb/7u+Tq+3BWiz6BUijQN4Wy8GqjrH14a Ov3xDAnrmqa6+jSG2H690K0Cj6JYqvV7tHj9JDmCplNYOrKbGvJpcQV/c4wTpOQf BzWLR4DIZizYO/kXi4Zk9JYx+EIagpTZ4H2okt8G5JWNvtR9+xCMiMhL/QkdEKtx jqXdDwyBRDs6EQ3sbb5pkL99FYJ8nxqQYcaZQI3ZDzYY92BI9A/Es+WMx5zcbo6H NemjS89ugcyCYeHg5MSr1mArYlNHch/XjKUWj+DP71YxY5ucYco= =H9Dl -----END PGP SIGNATURE----- --Sig_/_IL=LX=9s0bMAXH748yLV+F-- --===============3986496806541809239== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Privoxy-users mailing list [email protected] https://lists.privoxy.org/mailman/listinfo/privoxy-users --===============3986496806541809239==--