in the server side the [openvpn] stanza should have client=no; the client 
should have client=yes

regards 
Jose



> On 5/03/2023, at 2:16 PM, [email protected] wrote:
> 
> hello everyone
> i have a setup of openvpn + stunnel
> stunnel(client) in a server
> stunnel(server) + openvpn in another server
> both were working fine until i moved the second server to another one i moved 
> all openvpn and stunnel files to new one
> but even though its same stunnel it dont work properly i even compiled latest 
> 5.69 version thinking it was a bug
> this is my stunnel config:
> setuid = root
> setgid = root
> [openvpn]
> cert=/etc/stunnel/cert.pem
> key=/etc/stunnel/key.pem
> accept = 0.0.0.0:1381
> connect = 127.0.0.1:1194
> 
> its so simple yet idk whats the problem, cause in the logs i only see from 
> stunnel that a connection from ip x accepted but nothing else saying that it 
> connected to 127.0.0.1:1194
> its just accepting connections and nothing more like it forgot there is a 
> connect option there.
> but i confirm openvpn is correct as i tested with netcat and openvpn showed 
> up in logs saying there is a connection but somehow stunnel dont connect to 
> 127.0.0.1:1194 
> its crazy that either i forgot something or misconfig of stunnel cause its so 
> simple and its not working
> _______________________________________________
> stunnel-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]

_______________________________________________
stunnel-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to