At 11:48 AM -0400 29/4/02, SHEETS,JASON (Non-HP-Boise,ex1) wrote:

>SERVERA (master)
>/usr/local/sbin/stunnel -f -P/tmp/ -c -d 3308 -r SERVERA:3307

Shouldn't this end with -r SERVERB:3307

i.e. you listen on port local:3308 and forward to SERVERB:3307
SERVERB then listens to local:3307 and forwards to local:3306.


>/usr/local/sbin/stunnel -f -P/tmp/ -p /usr/local/ssl/certs/stunnel.pem -d
>3307 -r 3306
>
>SERVERB (slave)
>/usr/local/sbin/stunnel -f -P/tmp/ -c -d 3308 -r SERVERB:3307

And ditto.

>/usr/local/sbin/stunnel -f -P/tmp/ -p /usr/local/ssl/certs/stunnel.pem -d
>3307 -r 3306


 ...R.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to