diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-03-03 23:40:03 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-03-03 23:40:46 -0600 |
commit | 227e21466ba921c3f79afa6594b83f63624b4f68 (patch) | |
tree | 8b36c044786c15cd48a52f3c22de0da9d9779e39 /etc | |
parent | 0b3cf7da55d8d1ea65aedd3ce4270228889918ce (diff) | |
download | pfsense-227e21466ba921c3f79afa6594b83f63624b4f68.zip pfsense-227e21466ba921c3f79afa6594b83f63624b4f68.tar.gz |
Enable UnicastOnly in radvd for ovpn* interfaces. Ticket #4455
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/services.inc | 3 |
1 files changed, 3 insertions, 0 deletions
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"; |