UDP Server and client throught socks proxy

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
hAh0L13
OpenVpn Newbie
Posts: 1
Joined: Tue Apr 16, 2019 11:22 am

UDP Server and client throught socks proxy

Post by hAh0L13 » Tue Apr 16, 2019 11:30 am

Can I use client throught socks5 proxy with udp server? I have OpenVPN udp server on VPS and 2 client machines in single network. First have internet connection, second machine not. On first machine (192.168.6.111) I installed 3proxy in socks mode

Code: Select all

internal 192.168.6.111
external 192.168.10.111
socks
Second machine client.conf:
Client Config
client
dev tun
<connection>
remote IP 1194 udp
socks-proxy 192.168.6.111 1080
socks-proxy-retry
</connection>
nobind
resolv-retry infinite
persist-key
persist-tun
ca C:\\OpenVPN\\ca.crt
cert C:\\OpenVPN\\cert.crt
key C:\\OpenVPN\\key.key
remote-cert-tls server
tls-auth C:\\OpenVPN\\ta.key 1
cipher AES-128-CBC
comp-lzo
verb 3

Status when establishing connection from second (no internet) machine:

Code: Select all

Tue Apr 16 17:48:04 2019 MANAGEMENT: >STATE:1555411684,TCP_CONNECT,,,,,,
Tue Apr 16 17:48:05 2019 TCP connection established with [AF_INET]192.168.6.111:1080
Tue Apr 16 17:48:05 2019 UDP link local: (not bound)
Tue Apr 16 17:48:05 2019 UDP link remote: [AF_INET]IP:1194
Tue Apr 16 17:48:05 2019 MANAGEMENT: >STATE:1555411685,WAIT,,,,,,
In 3proxy logs i see packet from second machine with remote address 0.0.0.0 and nothing in OpenVPN server log.

Where is my mistake? Can I do something else, except adding TCP server instance?

vlad.nikitin
OpenVpn Newbie
Posts: 1
Joined: Thu Feb 18, 2021 10:05 am

Re: UDP Server and client throught socks proxy

Post by vlad.nikitin » Thu Feb 18, 2021 10:05 am

Hi, did you find a solution?

Post Reply