Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Bloqueio do SquidGuard redirecionando para localhost

    Scheduled Pinned Locked Moved Portuguese
    3 Posts 2 Posters 966 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      roberto.gualberto
      last edited by

      Bom dia, já procurei em outros foruns mas não encontreio o motivo ou solução para evitar que o squidGuard redirecione os sites bloqueados para localhost, desta forma não aparece pro usuario a tela de bloqueio.
      Tenho apenas uma acl de testes chamado aclpublico e percebam que ela redireciona para http://127.0.0.1.
      Meu pfsense tem apenas uma placa de rede.

      
      acl  {
      	# 
      	ACLPUBLICO  {
      		pass !blk_BL_news !blk_BL_porn !blk_BL_socialnet all
      		redirect http://127.0.0.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u
      	}
      	# 
      	default  {
      		pass all
      		redirect http://127.0.0.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u
      	}
      }
      
      
      1 Reply Last reply
      Reply Quote 0
      • R
        roberto.gualberto
        last edited by

        Achei esse tópico em inglês, porém ficou meio que fechado a solução

        https://forum.pfsense.org/index.php?topic=30799.0

        1 Reply Last reply
        Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          @roberto.gualberto:

          Achei esse tópico em inglês, porém ficou meio que fechado a solução

          https://forum.pfsense.org/index.php?topic=30799.0

          Esse tópico é de 201,muito antigo. tente mudar o tipo do relatório. tente url externa, interno, etc..

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy