Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    pfSense dig requests to OpenDNS route through WAN but requests to google route through PIA OpenVPN gateway

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 89 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      JoeB-
      last edited by JoeB-

      EDIT: This has been fixed. There were a couple of odd static routes in the routing table - one with destination 128.0.0.0/1 was using the OpenVPN PIA gateway. That's half the Internet if I am not mistaken.

      Checking Don't pull routes in the OpenVPN client settings removed the routes and routing from pfSense seems to be working correctly now.
      Strange problem...

      I have two gateways...

      • WAN has a dynamic IP w/ public IP address => A.A.A.A

      • OpenVPN client to PIA w/ public IP address => B.B.B.B

      One subnet is configured with PIA as its gateway. The other subnets use the WAN. Network clients all work fine. The problem is pfSense itself.

      Sending a dig from the pfSense shell to OpenDNS like the following...

      dig +short myip.opendns.com @resolver1.opendns.com
      

      returns the WAN public IP address: A.A.A.A

      However, sending a dig from the shell to Google DNS like the following:

      dig TXT +short o-o.myaddr.l.google.com @ns1.google.com
      

      returns the PIA public IP address: B.B.B.B

      This only happens when the OpenVPN client service is running. When it is stopped, the dig to Google DNS returns A.A.A.A

      Again, all network clients appear to be routed correctly. Any suggestions?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.