Project

General

Profile

« Previous | Next » 

Revision 41c649df

Added by Scott Ullrich about 20 years ago

Add Dynamic DNS support to IPSEC.

View differences:

etc/inc/vpn.inc
276 276
				} else if (isset($tunnel['p1']['myident']['ufqdn'])) {
277 277
					$myidentt = "user_fqdn";
278 278
					$myident = $tunnel['p1']['myident']['ufqdn'];
279
 				} else if (isset($tunnel['p1']['myident']['dyn_dns'])) {
280
					$myidentt = "dyn_dns";
281
					$myident = gethostbyname($tunnel['p1']['myident']['dyn_dns']);
279 282
 				}
280 283
				
281 284
				if (isset($tunnel['p1']['authentication_method'])) {

Also available in: Unified diff