P
P
p_andrey_m2017-06-03 13:16:59
linux
p_andrey_m, 2017-06-03 13:16:59

Set up OpenVPN via proxy?

How to set up openvpn access to a remote server if Internet access is through a proxy?

cat /var/log/openvpn.log

 /sbin/ip link set dev tun0 up mtu 1500
Sat Jun  3 13:01:22 2017 /sbin/ip addr add dev tun0 10.0.25.160/24 broadcast 10.0.25.255
RTNETLINK answers: File exists
Sat Jun  3 13:01:22 2017 ERROR: Linux route add command failed: external program exited with error status: 2

In the openvpn config file there are lines
http-proxy my.proxy.ru port
in /etc/resolv.confthe internal dns of the company's server.
What's wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
myppomeu, 2017-06-09
@myppomeu

What proxy? If HTTP, then put in the server config:

port 443
proto tcp

In client config:
proto tcp
port 443
http-proxy proxy_ip proxy_port

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question