OPNsense Forum

International Forums => Portuguese - Português => Topic started by: giovanit on September 03, 2019, 01:56:11 AM

Title: A potential DNS Rebind attack has been detected [RESOLVIDO]
Post by: giovanit on September 03, 2019, 01:56:11 AM
Olá pessoal.

Criei um NAT de encaminhamento de porta para um servidor interno, para acessar a porta 80. O acesso é através de uma endereço DNS exemplo.teste.com.br.
Quando acesso fora da minha rede local funcionar perfeitamente, porém quando acesso o mesmo endereço a seguinte mensagem é exibida:
A potential DNS Rebind attack has been detected.
Try to access the router by IP address instead of by hostname.

Tentei inúmeras configurações do NAT e também procurei algumas soluções no google, nenhuma funcionou. Alguém pode me ajudar?
Title: Re: A potential DNS Rebind attack has been detected
Post by: juliocbc on September 05, 2019, 12:10:24 AM
Você está com essa opção ativada?

Title: Re: A potential DNS Rebind attack has been detected [RESOLVIDO]
Post by: giovanit on September 06, 2019, 04:03:05 PM
Resolvi fazendo a seguinte configuração:

Firewall -> Settings -> Advanced
Enable:
- Reflection for port forwarding
- 1: 1 reflection
- Automatic outbound NAT for reflection NAT

Firewall -> NAT -> Port Forwarding
WAN    TCP    *    *    WAN address    80 (HTTP)    192.168.1.50    80 (HTTP)    Name
Title: Re: A potential DNS Rebind attack has been detected [RESOLVIDO]
Post by: vicentedeandrade on December 28, 2020, 02:58:14 PM
Olá

Consegui resolver esse problema adicionando a seguinte informação em:

System / Settings / Administration
- Alternate Hostname: my.host.on.ddns.service

vlw!