Project

General

Profile

« Previous | Next » 

Revision 8da8f2f8

Added by Scott Ullrich over 18 years ago

Allow multiple racoon listen ips so that racoon can live on two different wan carp ips (multiple isps)

View differences:

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

  

Also available in: Unified diff