Projet

Général

Profil

« Précédent | Suivant » 

Révision 82baf4a8

Ajouté par Thomas Noël il y a plus de 9 ans

captiveportal.inc: add table 42 for whitelist

Voir les différences:

etc/inc/captiveportal.inc
586 586

  
587 587
	/* allowed ipfw rules to make allowed hostnames work */
588 588
	$cprules .= captiveportal_allowedhostname_configure();
589

  
590
        /* allowed ipfw rules for univnautes whitelist */
591
	$cprules .= <<<EOD
592
# accept every traffic from table 42 = univnautes whitelist
593
add 65500 allow ip from any to table(42) in
594
add 65501 allow ip from table(42) to any out
595
table 42 flush
596
EOD;
589 597
	
590 598
	/* load rules */
591 599
	$cprules = "flush\n{$cprules}";

Formats disponibles : Unified diff