@cris:

in rc.carpmaster and rc.carpbackup is the same relevant code:

/* Stop OpenVPN clients running on this VIP, since multiple active OpenVPN
clients on a CARP cluster can be problematic. */
global $config;
if (is_array($config['openvpn']) &&
is_array($config['openvpn']['openvpn-client'])) {
    foreach ($config['openvpn']['openvpn-client'] as $settings) {
        if ($settings['interface'] == $argv[1]) {
            log_error("Stopping OpenVPN instance on
{$settings['interface']} because of transition to CARP backup.");
            openvpn_restart('client', $settings);
        }
    }
}

but both will:
--- openvpn_restart('client', $settings);

should the rc.carpbackup not stop the client ?

I'm not yet that familiar wit the pfsense code in rc. scripts ;-/

thanks in advance

stephan


2013/1/5 WolfSec-Support <supp...@wolfsec.ch>

> Hi Chris,
>
> 2013/1/5 Chris Buechler <c...@pfsense.org>
>
>> It's done automatically in 2.0.2 and newer.
>
>
>
> nope, only on CARP members with usage of openvpn server it will work.
>
> here in my v2.0.2 setup with 2 openvpn clients it won't work.
>
> also the carp backup tries permanently to open the tunnel via his openvpn
> client
>
> any additional hint ?
>
> thanks in advance
> stephan
>
>



-- 

Stephan Wolf

WolfSec
Rairing 65
CH-8108 Dällikon

+41 43 536 1191
+41 76 566 8222
http://www.wolfsec.ch
_______________________________________________
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list

Reply via email to