Server1
bei Server2 umgekehrt
Code:
; ### ### ### PLITC ### ### ###
; #
chroot = /var/lib/stunnel4/
setuid = stunnel4
setgid = stunnel4
pid = /stunnel4.pid
; #
sslVersion = SSLv3
; foreground = yes
; debug = 7
[repliserver]
; accept = XXX.XXX.XXX.XXX:3307
accept = 2a01:XXXX:XXXX:XXXX::XXXX:3307
connect = 127.0.0.1:3306
cert = /etc/stunnel/mysql.pem
[repliclient]
accept = 127.0.0.1:3307
; connect = XXX.XXX.XXX.XXX:3307
failover = rr
connect = 2a01:XXXX:XXXX:XXXX::XXXX:3307
connect = 2a01:XXXX:XXXX:XXXX::XXXX:3307
connect = 2a01:XXXX:XXXX:XXXX::XXXX:3307
connect = 2a01:XXXX:XXXX:XXXX::XXXX:3307
cert = /etc/stunnel/mysql.pem
client = yes
; #
; ### ### ### PLITC ### ### ###
; # EOF
bei Server2 umgekehrt
Zuletzt bearbeitet: