summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-09-01 00:33:15 -0400
committerChris Buechler <cmb@pfsense.org>2010-09-01 00:33:15 -0400
commit5281b3e8e7844de901e8d4323eb8c03fe73a77f4 (patch)
treeb79ae4c389577b997b93efc85ab402aa974e8072
parent2db1f5523286bb44a521ba8d142b30d7d10ee2d7 (diff)
downloadpfsense-5281b3e8e7844de901e8d4323eb8c03fe73a77f4.zip
pfsense-5281b3e8e7844de901e8d4323eb8c03fe73a77f4.tar.gz
also include split_dns, as Cisco VPN clients won't query across the VPN without it.
-rw-r--r--etc/inc/vpn.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index de26ecc..8b2f021 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -371,8 +371,10 @@ function vpn_ipsec_configure($ipchg = false)
if ($a_client['wins_server2'])
$racoonconf .= "\twins4 {$a_client['wins_server2']};\n";
- if ($a_client['dns_domain'])
+ if ($a_client['dns_domain']) {
$racoonconf .= "\tdefault_domain \"{$a_client['dns_domain']}\";\n";
+ $racoonconf .= "\tsplit_dns \"{$a_client['dns_domain']}\";\n";
+ }
if ($a_client['pfs_group'])
$racoonconf .= "\tpfs_group {$a_client['pfs_group']};\n";
@@ -1706,4 +1708,4 @@ function reload_tunnel_spd_policy($phase1, $phase2, $old_phase1, $old_phase2) {
return true;
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud