Olá pessoal ,
Estou tentando colocar uma pagina de aviso para os usuários bloqueados no radius usando o parametro "Filter-Id"
Colocando o parametro "Filter-Id" no radius , o Mk cria duas dinamicas em
/ip firewall filter , mas não estou conseguindo redirecionar o trafego da porta 80 para o servidor web externo que vai conter a página de aviso.
Alguem já fez essa configuração ?
INSERT INTO `radcheck` VALUES (1,'machado','Password','==','machado');
INSERT INTO `radgroupcheck` VALUES (1,'128','Simultaneous-Use',':=','1');
INSERT INTO `radgroupcheck` VALUES (2,'128burst','Simultaneous-Use',':=','1');
INSERT INTO `radgroupreply` VALUES (1,'128','Mikrotik-Rate-Limit',':=','128k/128k',0);
INSERT INTO `radgroupreply` VALUES (2,'128','Framed-Pool',':=','ipreal',0);
INSERT INTO `radgroupreply` VALUES (5,'128burst','Mikrotik-Rate-Limit',':=','128k/128k 256k/256k 200k/200k 180/180',0);
INSERT INTO `radgroupreply` VALUES (6,'128burst','Framed-Pool',':=','ipreal',0);
INSERT INTO `radgroupreply` VALUES (7,"block", "Mikrotik-Rate-Limit", ":=", "64k/64k",0);
INSERT INTO `radgroupreply` VALUES (7,"block", "Filter-Id", ":=", "bloqueado",0);
INSERT INTO `usergroup` VALUES (1,'machado','block');
Filter-Id - firewall filter chain name. It is used to make a dynamic firewall rule. Firewall chain name can have suffix .in or .out, that will install rule only for incoming or outgoing traffic. Multiple Filter-id can be provided, but only last ones for incoming and outgoing is used. For PPPs - filter rules in ppp chain that will jump to the specified chain, if a packet has come to/from the client (that means that you should first create a ppp chain and make jump rules that would put actual traffic to this chain). The same applies for HotSpot, but the rules will be created in hotspot chain


 
			
			
 
					
						 
			 Página de Aviso com PPPoE + FreeRadius
 Página de Aviso com PPPoE + FreeRadius
				 
					
					
					
						 Citação
  Citação
 
					
						 
			
 
			
 
			 Postado originalmente por aka2005
 Postado originalmente por aka2005
					
