A
A
Arseny Sokolov2011-08-09 10:56:37
macOS
Arseny Sokolov, 2011-08-09 10:56:37

How to send all traffic through a proxy in Mac OS X?

Actually, this is exactly what the subject is, I’ll just make a note: there is such a program - Proxifier, which does not work as it works in Windows, i.e. it is put, it asks to restart the mac, but as a result, no network traffic goes through it, but it is required to go. Tell me how you can turn all traffic into a proxy?

Proxy settings are no longer available, because I’m not the one driving it, and in general, since childhood, I can’t stand proxies.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vlad Zhivotnev, 2011-08-09
@ArsenBespalov

The most reasonable method seems to be to bring up squid and run all traffic through it as a transparent proxy.

A
Alexey Zhurbitsky, 2011-08-09
@blo

If I understand the question correctly, then you need to dig towards transparent proxy . For linux, this is done with a few lines in iptables.

D
Denis, 2011-08-09
@uscr

And if so ? The proxy address will be 127.0.0.1, apparently.

I
iscsi, 2011-08-09
@iscsi

Mac os x has ipfw - which means you can do the following - wrap all traffic in a proxy, for example, like this:
sudo ipfw add fwd proxy_ip,port tcp from me to any (all tcp traffic, only for http / s add dst rules to the end -port 80,443)
by analogy, you can stuff anything, let the proxy sort it out (I take this opportunity to say hello to the proxy administrator)
Nota Bene It's easy to cancel, look at the rule number in ipfw show and do ipfw show delete #rules or change add to delete in the original rule .

A
Arseniy Sokolov, 2011-08-10
@ArsenBespalov

It seems that I found a solution to my problem, but not the Mac itself, but it's just better, because. Proksya only at work.
http://nongraphical.com/2008/09/squid-3-proxy-chaining/ (PS Fully agree with the author of the article)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question