Projet

Général

Profil

« Précédent | Suivant » 

Révision f9fb8d2b

Ajouté par Ermal il y a presque 10 ans

No need to have the ip let strongswan do it for us! Keeping still filterdns to properly evaluate dns behaviour here

Voir les différences:

etc/inc/vpn.inc
533 533
						continue;
534 534

  
535 535
					if (!isset($ph1ent['mobile'])) {
536
						$rgip = $rgmap[$ph1ent['remote-gateway']];
537
						if (!$rgip)
538
							continue;
536
						$rgip = $ph1ent['remote-gateway'];
537
						//$rgip = $rgmap[$ph1ent['remote-gateway']];
538
						//if (!$rgip)
539
						//	continue;
539 540
					}
540 541

  
541 542
					$myid_type = $ph1ent['myid_type'];
......
694 695

  
695 696
					} else {
696 697
						$tunneltype = "type = transport";
697
						$rgip = $rgmap[$ph1ent['remote-gateway']];
698
						//$rgip = $rgmap[$ph1ent['remote-gateway']];
699
						$rgip = $ph1ent['remote-gateway'];
698 700

  
699 701
						if ((($ph1ent['authentication_method'] == "xauth_psk_server") ||
700 702
							($ph1ent['authentication_method'] == "pre_shared_key"))

Formats disponibles : Unified diff