mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Allow multiple racoon listen ips so that racoon can live on two different wan carp ips (multiple isps)
This commit is contained in:
parent
3e1b00335c
commit
8da8f2f87a
@ -270,10 +270,15 @@ function vpn_ipsec_configure($ipchg = false) {
|
||||
|
||||
}
|
||||
$interface_ip = $sasyncd['ip'];
|
||||
$interface_ips = split("\n", $interface_ip);
|
||||
if($interface_ip <> "") {
|
||||
foreach($interface_ips as $intip) {
|
||||
if($intip)
|
||||
$racoon_ips .= "isakmp {$intip} [500];\n";
|
||||
}
|
||||
$racoonconf .= <<<EOD
|
||||
listen {
|
||||
isakmp {$interface_ip} [500];
|
||||
{$racoon_ips}
|
||||
{$natt}
|
||||
}
|
||||
|
||||
|
||||
@ -54,7 +54,9 @@
|
||||
<fielddescr>Failover IP</fielddescr>
|
||||
<fieldname>ip</fieldname>
|
||||
<description>Enter the IP address you would like to use for failover. HINT: You normally want to use a public CARP ip.</description>
|
||||
<type>input</type>
|
||||
<type>textarea</type>
|
||||
<rows>3</rows>
|
||||
<cols>20</cols><type>input</type>
|
||||
</field>
|
||||
</fields>
|
||||
<custom_add_php_command>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user