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
internal 192.168.6.111
external 192.168.10.111
socks
Second machine client.conf:
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:
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?