I
I
Ivan Ivanov2021-12-21 12:47:17
linux
Ivan Ivanov, 2021-12-21 12:47:17

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

3 answer(s)
Z
zlo1, 2021-12-22
@surlan

3proxy parent option

C
CityCat4, 2021-12-21
@CityCat4

is it possible to raise an intermediate proxy server

can. This server will connect to the next level proxy, and clients will connect to it
Or in this case, you just need to raise the VPN server

it is also possible, and most likely you will need it, if you have an intermediate proxy not in the same network as you, but in #opens. If on the same network, I would prefer the proxy option - because it was created just for this.

R
rPman, 2021-12-21
@rPman

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

do auto-reconnection (in the ssh server config I advise you to register keepalive in case of unstable Internet)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question