[stunnel-users] How to run stunnel in client and server mode on the same machine?

Àëåêñåé Êàìåíåâ Íèêîëàåâè÷ green at englerllc.com
Wed Nov 17 17:46:25 CET 2004


I have a task: ecript traffic for my db server(m1) and www/smtp server(m2)
I install stunnel on both machines (m1 and m2) then wrote config files
m1:
...
client = no
...
[mssql]
accept=1434
connect=1433

m2:
...
client=no
...
[smtp]
accept=465
connect=25

and 

m3: some client machine
...
client=yes
...
[mssql]
accept=1433
connect=m1:1434

[smtp]
accept=25
connect=m2:465

when I connect to db m3->m1 - ok
when I send mail m3->m2 - ok
but when I connect to db m2->m1 - failed

how configure m2 stunnel to let him work in
client and server mode ?




More information about the stunnel-users mailing list