PfSense ignore OSPF routes on interface with default gateway
-
Hi!
I trying to use pfSense with 2 interfaces as internal router and firewall - WAN connected to OSPF backbone network, LAN connected to network, which I would like to anounce via OSPF and security by firewall.
I've installed and configured Quagga and get OSPF working fine. Then I've tried to configure access to WebUI from WAN and find a bug: if I configure default gateway on WAN initerface, then pfSense send all responses to default gateway and not to router, than anounce source network. Tracert also show, that Kernel use default gateway, instead of using routing table with routes from OSPF, which contain correct routes. If I remove default gateway from WAN interface, all works fine, but I would like to use this gateway for routing Internet addresses without anouncing 0.0.0.0/0 via OSPF.Network map and fragmet of routing table from pfSense attached to post.
Tracert 10.10.0.14 from my PC:
1. 10.10.30.254
2. 10.10.0.14
DoneTracert my PC (10.10.30.178) from pfSense with default gateway (10.10.0.1):
1. 10.10.0.1
2. 10.10.0.254
3. 10.30.0.178
DoneTracert my PC (10.10.30.178) from pfSense without default gateway:
1. 10.10.0.254
2. 10.30.0.178
DoneIs this bug or feature? How can I workaround this without anouncing 0.0.0.0/0 via OSPF?