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

    Using Stunnel for SQL encrypted external connections

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 3 Posters 1.8k 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.
    • R
      rogerivy
      last edited by

      I want to force all external connections to my SQL server (2005 and 2008R2) to be encrypted using SSL, essentially I want to encrypt only one of the network interfaces.

      The easiest way might be to use Stunnel and configure it in pfSense.

      Has anyone experience with doing this to help my learning curve?

      1 Reply Last reply Reply Quote 0
      • R
        rogerivy
        last edited by

        OK, so I guess it might not be possible (been Googling for several hours now and there's nothing out there).

        1 Reply Last reply Reply Quote 0
        • D
          drewy
          last edited by

          Not sure if this would work for you, but you can configure SQL to only allow ssl connections.

          1 Reply Last reply Reply Quote 0
          • R
            rogerivy
            last edited by

            It looks like Stunnel simply doesn't work on pfSense. I can't get it to work with anything (I've tried for several hours, many different options).

            ….just posting my finding in case it's helpful to someone (i.e. don't waste your time).

            Unfortunately there is very little help and documentation out there.

            1 Reply Last reply Reply Quote 0
            • L
              LiamH
              last edited by

              If you are not set on Stunnel, you may want to check Zebedee. pfSense got a package for it.

              1 Reply Last reply Reply Quote 0
              • R
                rogerivy
                last edited by

                Ah, I searched for SSL in the packages so didn't see it. I don't care what I use as long as it works TBH

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