Peplink + pfsense

      • Hello, how are you guys? I’m Brazilian and I’m using the Google translator sorry for the mistakes. I am using peplink 305 + pfsense with the following scenario: My external IP that allows me to use services within my internal network via nat is the same one that is configured as the main DNS. Every time I try to set up multiple web servers within my internal network, pfsense informs me that a possible rebind attack is happening. I can’t access any web server on my internal network through the domain example.com.br Could someone guide me?

      IP LAN IP LAN PEPLINK
      PEPLINK --------------- PFSENSE ------ LOCAL NETWORK
      WAN1 IP LAN LOCAL NETWORK
      WAN2

This feels like a pfsense issue.

If the DNS records are within a domain name which you control and you are comfortable, you might consider turning off rebind attack detection for that domain.

https://docs.netgate.com/pfsense/en/latest/services/dns/rebinding.html

Also could try putting the hostname values into the override list, which will prevent rebind attack detection on those values.

where is this annulment list? Another thing when I configure the DNS on my web server it is trying to redirect to pfsense itself. I need to do some NAT rule