Socks5 proxy connect, dont work

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Nodemind
OpenVpn Newbie
Posts: 7
Joined: Sat Jul 31, 2021 3:50 pm

Socks5 proxy connect, dont work

Post by Nodemind » Sat Jul 31, 2021 3:59 pm

OpenVPN Connect (Windows) dont work for connection use socks5 proxy.

Server(Debian 9) server.conf:
---
port 1194
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log /var/log/vpnlog.log
verb 3
tls-auth ta.key 0
cipher DES-EDE3-CBC
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 10.8.0.1"

# allow multi-client with same cn
duplicate-cn
---
client.conf:
client
dev tun
proto tcp
socks-proxy 2.2.2.2 1080 pass.txt
remote 111.111.111.111 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca keys/ca.crt
cert keys/user.crt
key keys/user.key
remote-cert-tls server
comp-lzo
log /var/log/openvpn.log
verb 3
tls-auth keys/ta.key 1
cipher DES-EDE3-CBC
redirect-gateway def1
---
From Debian client use proxy socks5 - OK

Windows soft - NO
Error: UNUSED OPTIONS [socks-proxy]
---

I add socks5 proxy manualy in proxy list, but this options uses only for http-proxy.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Socks5 proxy connect, dont work

Post by TinCanTech » Sat Jul 31, 2021 4:56 pm

Nodemind wrote:
Sat Jul 31, 2021 3:59 pm
Error: UNUSED OPTIONS [socks-proxy]
Usually means that the option is not supported.

Nodemind
OpenVpn Newbie
Posts: 7
Joined: Sat Jul 31, 2021 3:50 pm

Re: Socks5 proxy connect, dont work

Post by Nodemind » Sat Jul 31, 2021 8:36 pm

Yes.
socks-proxy is not supported, and socks5-proxy, socks5 proxy and etc is not supported for Windows.
But, this work on Debian. Why?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Socks5 proxy connect, dont work

Post by TinCanTech » Sat Jul 31, 2021 9:53 pm

You are using two different Openvpn Products which are only related by name.

* Openvpn-Connect Client For Windows.

Or

* Openvpn-community-edition.


They are totally different: https://openvpn.net/

Nodemind
OpenVpn Newbie
Posts: 7
Joined: Sat Jul 31, 2021 3:50 pm

Re: Socks5 proxy connect, dont work

Post by Nodemind » Sun Aug 01, 2021 9:45 am

Openvpn-Connect Client For Windows (3.3.1). Please help me, show how to use setting Openvpn-Connect Client socks5 proxy with username and password

Nodemind
OpenVpn Newbie
Posts: 7
Joined: Sat Jul 31, 2021 3:50 pm

Re: Socks5 proxy connect, dont work

Post by Nodemind » Mon Aug 02, 2021 12:40 pm

Maybe I put it wrong.

I need to know what settings can be set for socks5 in the configuration file in Openvpn-Connect Client For Windows (3.3.1)

Nodemind
OpenVpn Newbie
Posts: 7
Joined: Sat Jul 31, 2021 3:50 pm

Re: Socks5 proxy connect, dont work

Post by Nodemind » Mon Aug 02, 2021 2:41 pm

I did everything according to the instructions

https://openvpn.net/community-resources ... envpn-2-4/
---
--socks-proxy server [port] [authfile]
Connect to remote host through a Socks5 proxy at address server and port port (default=1080). authfile (optional) is a file containing a username and password on 2 lines, or "stdin" to prompt from console.
---


client.conf
---
#socks-proxy 5.41.121.111 1111 c:\\work\\openvpn\\keys\\pass1.txt
socks-proxy 5.41.121.111 1111 pass1.txt
socks-proxy-retry
---

But this not work

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Socks5 proxy connect, dont work

Post by TinCanTech » Mon Aug 02, 2021 3:02 pm

You are using the wrong manual for the product you are using.

Openvpn-connect Windows does not appear to support socks-proxy

Use Openvpn Community Edition.

Nodemind
OpenVpn Newbie
Posts: 7
Joined: Sat Jul 31, 2021 3:50 pm

Re: Socks5 proxy connect, dont work

Post by Nodemind » Mon Aug 02, 2021 4:13 pm

Thank you friend!

Post Reply