Answer the question
In order to leave comments, you need to log in
Is it possible to make a proxy server that uses other proxies? Or do it through a VPN?
Is it possible to make a proxy server that uses other proxies?
Example: there are paid proxies that have authorization by IP, and you can specify only one IP there. And I have several machines that must go through these proxies. I want to understand whether it is possible to raise an intermediate proxy server, which in turn will use paid proxies?
If so, are there ready-made tools for linux?
Or, in this case, you just need to raise the VPN server , register its external IP as in authorization in a paid one and connect all the machines that will go through a proxy to the VPN network?
Thank you!
UPD:
In my case, I went through a simple sweat and just raised my VPN.
Moreover, in docker you can
https://dockovpn.io/en/
https://github.com/kylemanna/docker-openvpn
So far there are no problems at the testing stage
Answer the question
In order to leave comments, you need to log in
is it possible to raise an intermediate proxy server
Or in this case, you just need to raise the VPN server
If on the machine whose ip is authorized in the proxy, it is possible to configure iptables or any other firewall, then you can set up a simple nat port mapping, write in the rules the filtering of incoming ip addresses to restrict access to the proxy only from them.
And a very simple option, any ssh can configure port forwarding in any direction (from client to server or from server to client, keys -L and -R, respectively), i.e. you set up passwordless authorization, and with a simple script (you can register it as a service)
while(true);do ssh [email protected] -L ..... -N;sleep 1;done
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question