Static route overwritten?
My setup is and should be pretty simple;
ISP -> Switch -> Single NIC ESXi running pfSense.
I have had some issues getting IPTV running and found out that i need to route ISP DNS over IPTV GW, this is forcing me to split ISP DNS. So i have DNS#1 routed over internet GW and DNS#2 over IPTV GW. - ISP is should be answering my DNS either way, so strange that i need to do this.
But now i have another problem.. When my STB is inactive for x amount of time(dont know when it occurs) my DNS gets automatically routed over internet GW.
I have set static route for DNS#2 and i have set static DNS for DHCP scope for IPTV_INSIDE.
When this happens my IPTV solution dies and i need to route delete DNS#2
DNS#1 [2.4.5-RELEASE][admin@pfSense.localdomain]/root: netstat -nr | grep 184.108.40.206 220.127.116.11 b8:d5:26:1f:83:69 UHS vmx0.102 DNS#2 [2.4.5-RELEASE][admin@pfSense.localdomain]/root: netstat -nr | grep 18.104.22.168 22.214.171.124 b8:d5:26:1f:83:69 UHS vmx0.102 126.96.36.199/32 10.194.4.1 UGS vmx0.101
Looks like i dont have proper routing and nating between IPTVGW and INTERNETGW.
How do I verify this?
when you make a firewall rule under IPTV_INSIDE, there is an option under Extra Options" / "advanced options" where you can chose the default gateway
you don't need to set static route, start with a any/any rule with gateway IPTV_GW