Revision f3f98e97
Added by Phillip Davis almost 6 years ago
src/etc/inc/vpn.inc | ||
---|---|---|
536 | 536 |
|
537 | 537 |
if (is_array($a_client) && isset($a_client['enable'])) { |
538 | 538 |
$strongswan .= "\t\tattr {\n"; |
539 |
|
|
539 |
|
|
540 | 540 |
$cfgservers = array(); |
541 | 541 |
if (!empty($a_client['wins_server1'])) { |
542 | 542 |
$cfgservers[] = $a_client['wins_server1']; |
... | ... | |
1030 | 1030 |
if (!empty($a_client['dns_server4'])) { |
1031 | 1031 |
$rightdnsservers[] = $a_client['dns_server4']; |
1032 | 1032 |
} |
1033 |
|
|
1033 |
|
|
1034 | 1034 |
if (count($rightdnsservers)) { |
1035 | 1035 |
$rightdnsserver = "\trightdns = " . implode(',', $rightdnsservers) . "\n"; |
1036 | 1036 |
} |
... | ... | |
1542 | 1542 |
// supported: ipv4, ipv6, rfc822, email, userfqdn, fqdn, dns, asn1dn, asn1gn, keyid |
1543 | 1543 |
// example: $ipsecfin = "\trightid = email:your@email.address\n"; |
1544 | 1544 |
|
1545 |
// note: comma seperated list for access restriction, regardless of firewall rules
|
|
1545 |
// note: comma separated list for access restriction, regardless of firewall rules
|
|
1546 | 1546 |
// example: $ipsecfin = "\tleftsubnet = 1.1.1.1/32,1.1.1.2/32,2.2.2.0/24\n"; |
1547 | 1547 |
|
1548 | 1548 |
$mobilekey_counter++; |
Also available in: Unified diff
Fix random typos