Project

General

Profile

« Previous | Next » 

Revision 787de45a

Added by Seth Mos over 14 years ago

Push the ipv6 routes for the local network with push route-ipv6

View differences:

etc/inc/openvpn.inc
458 458
			$mask = gen_subnet_mask($mask);
459 459
			$conf .= "push \"route $ip $mask\"\n";
460 460
		}
461
		if ($settings['local_networkv6']) {
462
			list($ipv6, $prefix) = explode('/', $settings['local_networkv6']);
463
			$conf .= "push \"route-ipv6 $ipv6/$prefix\"\n";
464
		}
461 465

  
462 466
		switch($settings['mode']) {
463 467
			case 'server_tls':

Also available in: Unified diff