How do I write the traffic rules to route everything through a proxy?

How do I write the traffic rules to route everything through a proxy?
I have no idea how to do it myself.
I know I shouldn't mess with it without knowing what I'm doing,
which is why I'm asking here on the forum.
The general location of where to configure it isn't that helpful for me.
As getting to the location/config needed to do it is easy enough.
It's how to modify it to do what I want that I can't wrap my head around.
Even just an authentic/legitimate (partial) example of the config file modifications would be helpful.
I know where to setup the proxy and traffic rules in general.
It's actually writing the traffic rules that I can't figure out.
Which is why I am asking here on this forum.

There are different proxies for each protocol.
I am guessing that what you mean by "everything", is all website access.

A proxy package would normally set up its own traffic rules on the router, making a "transparent proxy".

Alternatively, individual user devices would normally have browser settings to point to a proxy.

Unfortunately, with the advent of https encryption, web proxies became unusable, as browsers will always complain and give dire warnings about certificate failures.

No, I mean actually/literally everything.
Not just website, but ftp/game/ssh/etc/EVERYTHING
Website access isn't the only network access that can go through http/https proxies.

That's not how third-party http/https proxies without an OpenWRT package work.
And I'm needing to do it with a third-party http/https proxy in a hotspot app on my phone.
There is no OpenWRT proxy package for it.
And there is OpenWRT package for adding and routing-through all/any proxy servers of a compatible that don't have a supporting package in OpenWRT.
If there was, I wouldn't need to ask here.
Or did someone make an OpenWRT package that does that for third-party proxies that don't have an OpenWRT package themselves?

If that were true, it would be happening to me.
As I am using an http/https proxy for everything, and I never get those errors.

ummm, sorry.
really fricking weird that my browser was fine with it before upgrading to openwrt v22.0.3.2
And my browser is fine with going through the an http proxy directly from my laptop instead of through the openwrt router.

An http/https proxy does not proxy everything, just http/https.
You might have a TCP/UDP proxy but that cannot cache anything that is encrypted. It will look pretty much like a vpn internal to the "proxy" server and as such serves no useful purpose other than ensuring all traffic goes through a central point..... just like a router.

Scary Man in The Middle.
Try using your online banking app using that and see how far you get.....

I think you actually/literally mean a VPN.

all of this is besides the current point.
going through proxy on my router made stuff kick a fuss like you said it would.
which makes it odd that it isn't kicking up a fuss when going through the same proxy,
but on/from my computer directly.

ummm, no.
I meant a proxy.
Windows and your web browser can get most things through an http/https proxy.
Even when it doesn't have to do with http/https

It's not a man in the middle attack.
I have to use a third-party hotspot app off of the Google Play store app on my phone.
The phone coming directly from my carrier, Cricket Wireless.

proxies and vpn's are not the same,
and do not work the same way.
thus the vpn version of this question isn't a duplicate.
...
in-case anyone tries to claim it is a duplicate.

I had also already admitted I was wrong about doing proxies the way I asked, expierencing the fuss you mentioned.
which still makes it odd that it only gave me said fuss when the proxy was connected to from my OpenWRT router.

Just because it is on the Google Play store, it does not mean it is not a MITMAA. An app can quite happily hide all the "fuss" making everything seem rosy.

You have not explained why you think you need a proxy, other than directing all traffic through an external server.

Use a vpn and not only will all traffic be directed through an external server, it will also be fully encrypted regardless of protocol before it enters your isp network.

I admit the shady-ness and probability of being a Man In The Middle Attack.
But as far as hiding the "fuss" it would be my computer hiding it, not the app.
as in either case it's still through the same app on my phone.

And technically speaking, it would either be a Trojan or a Back Door and not an MITMAA.
As the entirety of the proxy/hotspot as all in the same app.

I also have to use such apps because my carrier makes hotspot unusable when you hit the "soft" limit.

Apparently I failed to get across that I had already switched to looking into doing exactly that instead.
This thread has become a "he said / she said" argument of trying to explain what it is I mean.
Can we please just drop this?
I know you're right, and I'm already asking for how to do the original question but through a vpn instead.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.