0

my servers were doing fine until i changed the server with stunnel (as server) to another one

this is my server.conf file

setuid = root
setgid = root
[server]
cert=/etc/stunnel/cert.pem
key=/etc/stunnel/key.pem
accept = 0.0.0.0:1381
connect = 127.0.0.1:1194

so as you guessed final destination is openvpn, but this is same as the old server config but it dont work

what i see in logs is just stunnel accepting a connection from x, but no s_connect that says it connected to endpoint

i did config openvpn to listen on 127.0.0.1 and if i connect to it using nc -v 127.0.0.1 1194 i can see openvpn in logs that accepeted connection but none of stunnel connections go that way idk why

i had the same problem before, that was caused after upgrading to ubuntu 22 from 20 (i tought its because of incompatibility between openssl 3.0 and 1.1.1)so i rebuilt the server to 20 and its still the same

IMIEEET
  • 11
  • 2

0 Answers0