You are not logged in.
I have a proxy port (say 1234) which I want to pass my entire machine's traffic through.
My preference is over default networking tools that one can find in most Linux systems. I searched iproute2's tunnels but I'm not sure if that's the right tool or not. My eventual goals is to automate this procedure, so CLI apps are preferred.
I lack the general knowledge to find the appropriate tool for doing such a thing.
Would anyone please guide me in the correct direction to search for it and figure it out?
Last edited by m47h4r (2022-10-24 06:59:07)
There is no dark side of the moon really, matter of fact, it's all dark.
Offline
Proxychains can do this easily.
By default, it directs traffic to the Tor proxy, from the service that is running on port 9050, in your loopback IP, just change port "9050" to the proxy port that is currently running on your computer.
You'll find it in proxychains.conf:
[ProxyList]
# add proxy here ...
# meanwhile
# defaults set to "tor"
socks4 127.0.0.1 9050 ## change to socks4 127.0.0.1 1234
Software Developer && Linux SysAdmin
Offline
Thank you for suggesting proxychains. However that's not really what I'm asking for. I can simply set `all_proxy` env var and most applications use that if I want to specifically set proxy for something.
What I'm asking for is global proxy configuration, like how desktop environments can proxy the whole system through a certain port. But I don't want to rely on a DE for this task.
Last edited by m47h4r (2022-10-25 09:08:38)
There is no dark side of the moon really, matter of fact, it's all dark.
Offline