How do I setup proxy automation?

How do I setup proxy automation?
I know this is technically a duplicate of the linked thread.
But the wpad deployment is necessary for the stated solution,
and unfortunately the link given for that is no longer valid.
Or should I just look it up myself?
Because I looked at the site from the broken wpad deployment link,
and they don't have instructions on how to deploy a wpad setup anymore.

Wpad will only work if the client is configured to look for proxy configuration, if you are trying to force clients to pass through your proxy then you can either use firewall rules to redirect the traffic to your proxy. or hack the dns to return your proxy address instead of any other website.

Note that the proxy you are running will need to support receiving relative http requests, and you might even need to add the proxy ca to the clients truststore if you want to be able to proxy https request as well.

I'm the only one that uses my router, so that's fine.
It's also a local-only proxy, so it doesn't handle any data besides my own.
And the proxy in question is http anyway.
I don't know why, but I don't get the issues I've been told happen with http proxies these days.
Could that be because it's a local-only proxy with no out-side access to the proxy in and of itself?
I don't care what format and all the proxy automation script serving takes,
as long as it can be ran/served from OpenWRT.

Well, you can try setting a dnat rule that takes all port 80 traffic and redirects it to your proxy server and see if that works for you.

I am not sure which issues you are talking about so I can't really comment.

Related:

Not exactly. Only required, in case of "deciphering" the request.

I know.. :slight_smile: that is why I said might...

that would only affect web traffic.
http proxies (at least the one from my hotspot app) can handle everything, not just web traffic.
And I'm not asking how to make a proxy.
I'm asking how to host/run a proxy automation script for the relevant option on devices when setting a proxy in them.
But not how to route or do anything else, just the auto-config script.
This highlighted option is Windows 10's form for using the option I mean.