Project

General

Profile

« Previous | Next » 

Revision 531b9f0e

Added by Ermal LUÇI over 11 years ago

No need for a second rule forwarding http

View differences:

etc/inc/captiveportal.inc
556 556
		$listenporthttp = $$config['captiveportal'][$cpzone]['listenporthttp'];
557 557
	else
558 558
		$listenporthttp = 8000 + $$config['captiveportal'][$cpzone]['zoneid'];
559
	$cprules .= "add 65530 fwd 127.0.0.1,{$listenporthttp} tcp from any to any dst-port 80 in\n";
560 559

  
561 560
	if (isset($config['captiveportal'][$cpzone]['httpslogin'])) {
562 561
		if (!empty($config['captiveportal'][$cpzone]['listenporthttps']))

Also available in: Unified diff