[Privoxy-users] Dynamically add socks5 forwards or #include a separate forwarding file

Fabian Keil fk at fabiankeil.de
Mon Jun 18 16:34:56 UTC 2018


David Woodfall <dave at dawoodfall.net> wrote:

> I would like to know if there's a way of adding forwards without
> needing to edit the main config and restarting privoxy?

Restarting Privoxy isn't necessary. Config file changes should
be detected automatically.
 
> My privoxy forwards to 2 socks5 proxies. By default all go to the main
> one, but I sometimes need to add URL patterns for some to go to the
> second proxy.
> 
> Is there is a way to do this by putting a command/alias in either
> user.action or user.filter, or perhaps #include a separate file from
> config that I could add to dynamically using a shell script or via
> the web interface?
> 
> I did try putting them in user.action but I couldn't get them to work.

Using the forward-override directive in an action file
is expected to work as well.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-users/attachments/20180618/2dadacdf/attachment.bin>


More information about the Privoxy-users mailing list