Score:0

stunnel server dont connect to endpoint

fo flag

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

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.