Revision 8da8f2f8
Added by Scott Ullrich over 18 years ago
etc/inc/vpn.inc | ||
---|---|---|
270 | 270 |
|
271 | 271 |
} |
272 | 272 |
$interface_ip = $sasyncd['ip']; |
273 |
$interface_ips = split("\n", $interface_ip); |
|
273 | 274 |
if($interface_ip <> "") { |
275 |
foreach($interface_ips as $intip) { |
|
276 |
if($intip) |
|
277 |
$racoon_ips .= "isakmp {$intip} [500];\n"; |
|
278 |
} |
|
274 | 279 |
$racoonconf .= <<<EOD |
275 | 280 |
listen { |
276 |
isakmp {$interface_ip} [500];
|
|
281 |
{$racoon_ips}
|
|
277 | 282 |
{$natt} |
278 | 283 |
} |
279 | 284 |
|
usr/local/pkg/sasyncd.xml | ||
---|---|---|
54 | 54 |
<fielddescr>Failover IP</fielddescr> |
55 | 55 |
<fieldname>ip</fieldname> |
56 | 56 |
<description>Enter the IP address you would like to use for failover. HINT: You normally want to use a public CARP ip.</description> |
57 |
<type>input</type> |
|
57 |
<type>textarea</type> |
|
58 |
<rows>3</rows> |
|
59 |
<cols>20</cols><type>input</type> |
|
58 | 60 |
</field> |
59 | 61 |
</fields> |
60 | 62 |
<custom_add_php_command> |
Also available in: Unified diff
Allow multiple racoon listen ips so that racoon can live on two different wan carp ips (multiple isps)