diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-09-11 08:38:52 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-09-11 08:38:52 -0300 |
commit | 4889b4c0c50341036aa412de3d66ed2cdc4392ed (patch) | |
tree | 4ecd6133ab56162dcf69cd1c065e8c0a90cdaffa /usr | |
parent | b7063ed37a3729ad2b1ab0e3f7f30eeb35daffd4 (diff) | |
parent | c38764dc0494463b06f70c7ef8e249629a922134 (diff) | |
download | pfsense-4889b4c0c50341036aa412de3d66ed2cdc4392ed.zip pfsense-4889b4c0c50341036aa412de3d66ed2cdc4392ed.tar.gz |
Merge pull request #1260 from DasTestament/master
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/vpn_openvpn_server.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/usr/local/www/vpn_openvpn_server.php b/usr/local/www/vpn_openvpn_server.php index 9c74992..345a861 100644 --- a/usr/local/www/vpn_openvpn_server.php +++ b/usr/local/www/vpn_openvpn_server.php @@ -212,6 +212,8 @@ if($_GET['act']=="edit"){ $pconfig['verbosity_level'] = $a_server[$id]['verbosity_level']; else $pconfig['verbosity_level'] = 1; // Default verbosity is 1 + + $pconfig['push_register_dns'] = $a_server[$id]['push_register_dns']; } } if ($_POST) { @@ -427,6 +429,9 @@ if ($_POST) { $server['dns_server4'] = $pconfig['dns_server4']; } + if ($pconfig['push_register_dns']) + $server['push_register_dns'] = $pconfig['push_register_dns']; + if ($pconfig['ntp_server_enable']) { $server['ntp_server1'] = $pconfig['ntp_server1']; $server['ntp_server2'] = $pconfig['ntp_server2']; @@ -1576,6 +1581,26 @@ if ($savemsg) </table> </td> </tr> + + <tr id="chkboxPushRegisterDNS"> + <td width="22%" valign="top" class="vncell"><?=gettext("Force DNS cache update"); ?></td> + <td width="78%" class="vtable"> + <table border="0" cellpadding="2" cellspacing="0" summary="push register dns"> + <tr> + <td> + <?php set_checked($pconfig['push_register_dns'],$chk); ?> + <input name="push_register_dns" type="checkbox" value="yes" <?=$chk;?> /> + </td> + <td> + <span class="vexpl"> + <?=gettext("Run ''net stop dnscache'', ''net start dnscache'', ''ipconfig /flushdns'' and ''ipconfig /registerdns'' on connection initiation. This is known to kick Windows into recognizing pushed DNS servers."); ?><br /> + </span> + </td> + </tr> + </table> + </td> + </tr> + <tr> <td width="22%" valign="top" class="vncell"><?=gettext("NTP Servers"); ?></td> <td width="78%" class="vtable"> |