[LUNI] MySQL and stunnel

Erich Kolb ekolb at kolbsoft.com
Wed Mar 20 08:16:07 CST 2002


I think thats it, wasnt sure if stunnel would work on Windows though.
Thanks and I will give it a try

-----Original Message-----
From: luni-admin at luni.org [mailto:luni-admin at luni.org]On Behalf Of James
Bliss
Sent: Tuesday, March 19, 2002 11:49 PM
To: luni at luni.org; luni at luni.org
Subject: Re: RE: [LUNI] MySQL and stunnel


I haven't done it, but if you are talking about using stunnel between mysql
on linux and mysql on windows, then you should be able to do this with the
windows binaries for stunnel.  Not sure if you are talking about something
else here.

Jim Bliss
Bliss Technology Solutions, Inc.
847-722-7482

03/19/02 10:20:43 PM, "Erich Kolb" <ekolb at kolbsoft.com> wrote:

>This works pretty well for Linux-MySQL -> Linux-MySQL, however I would
>like to add a little twist by this.  I currently use both DBTools, and
>MySQL Front on Win2k for basic administrative tasks.  These programs
>have been written very well and I have found that they help considerably
>with limiting the amount of typing generally done through bash.  Is it
>possible for me to be able to do stunnel to an application on MS Win2k?
>
>-----Original Message-----
>From: luni-admin at luni.org [mailto:luni-admin at luni.org] On Behalf Of
>James Bliss
>Sent: Tuesday, March 19, 2002 4:50 PM
>To: luni at luni.org
>Subject: Re: [LUNI] MySQL and stunnel
>
>To encrypt replication over an insecure (inter)net: Get stunnel and
>install it
>(after OpenSSL if you don't already have it) on both machines.
>
>On the slave's my.cnf under [mysqld] put:
>master-host=localhost
>master-port=3307
>
>Start stunnel on the slave with:
>stunnel -c -d 3307 -r mastername.com:3307
>
>Start stunnel on the master with:
>stunnel -p /path/to/ca.pem -d 3307 -r localhost:3306
>
>Make any necessary adjustments to your firewalls to allow tcp port 3307
>in
>and out. Restart mysql on both systems. With any luck you're in
>business.
>
>You can also look at:
>This may help:
>http://www.stunnel.org/examples/mysql.html
>Says substantially the same thing but with a little more detail.
>
>HTH
>
>Jim Bliss
>Bliss Technology Solutions, Inc.
>847-722-7482
>
>03/19/02 04:24:21 PM, "Erich Kolb" <ekolb at kolbsoft.com> wrote:
>
>>Is there any way to wrap a MySQL connection inside of an stunnel, or
>any
>>other way to encrypt data going from one MySQL server to another?
>>
>>Erich Kolb - Network Engineer
>>R&B Receivables Management, Inc.
>>860 Northpoint Bvld
>>Waukegan, IL 60085
>>Phone - 847-887-8527
>>Email - ekolb at randbreceivables.com
>>
>
>
>
>__________________________________________________________
____________
>Linux Users Of Northern Illinois - Technical Discussion
>luni at luni.org
>http://luni.org/mailman/listinfo/luni
>
>__________________________________________________________
____________
>Linux Users Of Northern Illinois - Technical Discussion
>luni at luni.org
>http://luni.org/mailman/listinfo/luni
>



______________________________________________________________________
Linux Users Of Northern Illinois - Technical Discussion
luni at luni.org
http://luni.org/mailman/listinfo/luni




More information about the luni mailing list