From 227e21466ba921c3f79afa6594b83f63624b4f68 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Tue, 3 Mar 2015 23:40:03 -0600 Subject: Enable UnicastOnly in radvd for ovpn* interfaces. Ticket #4455 --- etc/inc/services.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 5f63804..7fcffda 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -118,6 +118,9 @@ function services_radvd_configure($blacklist = array()) { $radvdconf .= "# Generated for DHCPv6 Server $dhcpv6if\n"; $radvdconf .= "interface {$realif} {\n"; + if (strstr($realif, "ovpn")) { + $radvdconf .= "\tUnicastOnly on;\n"; + } $radvdconf .= "\tAdvSendAdvert on;\n"; $radvdconf .= "\tMinRtrAdvInterval 5;\n"; $radvdconf .= "\tMaxRtrAdvInterval 20;\n"; -- cgit v1.1