D
D
DimiDr0lik2017-02-17 13:32:16
VPN
DimiDr0lik, 2017-02-17 13:32:16

Proxy setup with Open vpn tunnel?

Good afternoon.
there is a server with a configured squid proxy through which we go to the Internet, it also has vpn configured to another server.
need help with iptables rules to route proxy traffic through this vpn
using openvpn
client -> proxy server and vpn client -> vpn server -> internet

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuznetsov, 2017-02-19
@smithy1208

On proxy:
Set default via openvpn.
iptabes -t nat -I POSTROUTING -s -o tun0 -j SNAT --to-source
On the server, also set up an OpenVPN network.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question