Bernd
June 21, 2019, 11:38pm
1
Hello.
I want to initiate a http proxy client connection, then I want to start an OpenVPN session thru this http client connection.
In openvpn.ovpn/conf I have these entries:
<connection>
remote 80.255.7.98 142
http-proxy 80.255.7.98 3128 stdin
</connection>
Is that possible and which openwrt packages do I need for this?
You cannot send TCP down an HTTP proxy connection. It proxies HTTP commands, not packets.
Also, you may want to inform others reading this thread - that this is related to: OpenVPN with SSH tunnel to VPN Provider
Bernd
June 21, 2019, 11:51pm
3
So there is no way to get these openvpn.ovpn running? Is that correct?
auth-user-pass userpass.txt
client
dev tun
hand-window 120
inactive 604800
mute-replay-warnings
nobind
persist-key
persist-remote-ip
persist-tun
ping 5
ping-restart 120
redirect-gateway def1
remote-random
reneg-sec 3600
resolv-retry 60
route-delay 2
route-method exe
script-security 2
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-RSA-WITH-AES-256-CBC-SHA
tls-timeout 5
verb 4
tun-ipv6
tun-mtu 1500
proto tcp
comp-lzo
<connection>
remote 80.255.7.98 142
http-proxy 80.255.7.98 3128 stdin
</connection>
cipher AES-256-CBC
auth SHA512
ignore-unknown-option ncp-disable
ncp-disable
remote-cert-tls server
key-direction 1
ca ca.crt
cert Berlin1_cl.crt
key Berlin1_cl.key
tls-auth Berlin1_ta.key
log /var/log/openvpn.log
log-append /var/log/openvpn.log
down down.sh
up up.sh
Sorry for my questions, but I have no experience with it.
According to the manual , OpenVPN supports HTTP proxy.
But proxy server often limits destination port range and connection method.
Try to configure OpenVPN client and server to use 443/TCP.
Also some proxy servers may intercept and filter SSL based on SNI, others use MITM.
I guess you are out of luck in that case.
1 Like