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

    Ipsec tunnels cause SQL connections to stop

    Scheduled Pinned Locked Moved IPsec
    2 Posts 1 Posters 534 Views
    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.
    • P
      Paladax
      last edited by

      Hi there,

      I have a Pfsense box running 2.1.5. I have 3 interfaces setup on it. The Wan interface is using a 4g Dongle which is fine. Then the 2 LAN interfaces are the other 2. When I have no Ipsec tunnels running, or the dongle is not connected so no internet connection then I can get an SQL connection from the one lan to the SQL server on the 2nd lan.

      But as soon as the Ipsec tunnels come online, I am unable to connect to make an SQL connection to that server. I am able to make other connections to it, windows explorer, VNC, pings. But no SQL.
      I have rules in place to allow it to make the connection, I can see the traffic being generated and allowed through, but still, Ipsec online and no SQL connections will work.

      Any ideas?

      1 Reply Last reply Reply Quote 0
      • P
        Paladax
        last edited by

        I have been trying to figure this one out and found something else strange going on.

        When the Ipsec tunnels are up, if I try to ping that SQL server's IP from Pfsense and from the same interface it connects to, it then seems to direct the traffic back down the Ipsec tunnel as I see the traffic hitting the firewall on the other end.
        No Ipsec then it seems to go direct.

        How can I specific that even with IPsec, local addresses can be found locally?

        May be relevant, but I have compared route tables and Arp tables between Ipsec connected and not connected and they are the same.

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