Answer the question
In order to leave comments, you need to log in
How to redirect ALL traffic from OpenVPN-vps to another vps with proxy?
You need to implement the following scheme: Open-vpn client(win,ubuntu) <-> vps1(ubuntu) <-> vps2(ubuntu) <-> vps3(ubuntu) <-> Internet. In the client config, vps1 is specified as a server, it redirects all traffic to vps2 using ssh, an OpenVPN server is raised on vps2. The task is to redirect ALL traffic from vps2 to vps3, so that vps3 is a proxy for vpn. A proxy is needed to handle ALL traffic. The output should be ip-shnik vps3. I understand that using ssh to make a socks5 proxy? Prompt implementation, please. Traffic from vps1 to vps2 is redirected with:
ssh -Nf -L $vps1_ip:$vps1_port:$vps2_vpn_server_ip:$vps2_port $vps2_ip
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question