Pacote Saindo Pelo GW Errado :: Packet Exiting Through Wrong Gateway
-
[PT-BR]
Olá pessoal,
Estou enfrentando um comportamento estranho no pfSense e gostaria de entender por que isso acontece.
Tenho múltiplos gateways configurados (multi-WAN), e percebi que às vezes alguns pacotes estão saindo por um gateway incorreto — ou seja, diferente daquele que corresponde ao IP de origem da interface WAN. Isso tem causado perda de pacotes e, aparentemente, o provedor está descartando o tráfego com IP de origem "errado".
Minhas regras de firewall estão configuradas usando Policy-Based Routing para forçar o tráfego a sair por gateways específicos. Mesmo assim, noto que pacotes saem pela WAN errada em alguns casos.
Alguém sabe por que isso pode acontecer? Existe alguma configuração que pode estar sobrescrevendo as regras de firewall? Ou alguma peculiaridade no roteamento do pfSense com múltiplos gateways?
Agradeço qualquer ajuda!
[EN]
Hi all,
I'm seeing some unexpected behavior in pfSense and would like to understand why it's happening.
I have multiple gateways configured (multi-WAN), and I’ve noticed that sometimes packets are being sent through the wrong gateway — one that doesn't match the source IP of the WAN interface. This seems to be causing packet loss, probably because the ISP is dropping packets with a "foreign" source IP.
My firewall rules are configured using Policy-Based Routing to force traffic out specific gateways. Still, I observe that some packets occasionally go out the wrong WAN.
Does anyone know why this might be happening? Is there a setting that could be overriding the firewall rules, or something specific about how pfSense handles routing with multiple gateways?
Any help is appreciated!!