Answer the question
In order to leave comments, you need to log in
How to make ALL Windows work through a proxy server?
Dear experts, you need a solution that will allow you to transfer ALL traffic from Windows through a proxy
. You need a hundred-pound solution, so that for example, when installing any software that will have traffic, using any installed software, etc. all traffic went through a proxy server.
It is necessary to make sure that there is no need to configure any programs, they should immediately work through a once configured proxy server.
Perhaps this can be done by the BIOS, I am also considering, in general, as you understand, I am not very knowledgeable in this, so I am considering all possible options.
I will also consider the option of how to do this on Ubuntu
And advise the actual service where to get this very proxy server (access through it)
Thank you in advance!
Answer the question
In order to leave comments, you need to log in
On Ubuntu (as on any Linux), this is done elementarily via iptables.
For example, Redsocks ( github , a package in Ubuntu) is an almost ready-made solution, a script that carries all the necessary iptables commands to solve a specific task. It allows you to forward all TCP (!) traffic from the machine through SOCKS4 / 5 (and therefore through TOR or SSH) and even through HTTP-proxy with the CONNECT method available (however, these are already very rare today). It is arranged very simply, I advise you to look at the source (also shown on the main page of the site) to make sure that the same actions with iptables are easy to do with your hands if necessary.
Note: When buying your own VPS, in this optionthere is no need to set up a VPN on it , a bare shell is enough, which you get out of the box immediately upon purchase. At the same time, a bunch of ssh (better autossh) + redsocks (or a similar script) works on the client.
As far as Windows is concerned, on a machine directly connected to the Net, the only safe way to run it is inside a virtual machine. And traffic from a virtual machine can be easily filtered and / or pushed into the tunnel using the same iptables.
As xmoonlight correctly noted , owners of routers with full Linux on board are lucky that Windows machines (even without virtual machines) can be securely connected to the Network through a router using the iptables setting on it.
Paid vpn and connection to it on the router to which the computer is connected.
All any packets without vpn are blocked by rules on the same router.
This is a complex issue. And judging by its wording, you can’t cope with it yourself, it’s better to turn to professionals. Key points:
You need to set up a VPN server, and Windows should only go online through this VPN server after the VPN connection is established. The default gateway should be the VPN server. Then all traffic (except for the local network) will go to this VPN server. On the VPN server, you process traffic with a firewall - either wrap it in a proxy (but not all protocols can work through a proxy), or do NAT (not all protocols can work this way either, but in any case, their number is much less than non-proxied :-) ).
The proxy may be on the same server as the VPN server, or it may be on some other server.
Использовать какую-нибудь программу, напрмер, proxifier
Где взять прокси: арендуете vps, платите за настройку, используете.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question