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

    Stunnel broken on re-install

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 974 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.
    • J
      jeffreysmith
      last edited by

      I upgraded a few pfsense boxes last night and got hit by a bug in the current stunnel package. It appears when you re-install the package it fails to write out any tunnels to the file /usr/local/etc/stunnel/stunnel.conf for instance I get this straight after re-install.

      
      cert = /usr/local/etc/stunnel/stunnel.pem
      chroot = /var/tmp/stunnel
      setuid = stunnel
      setgid = stunnel
      
      

      If I go into the gui the certificates are still displayed and then clicking save on each of them correctly places them back into the conf file.

      cert = /usr/local/etc/stunnel/stunnel.pem
      chroot = /var/tmp/stunnel
      setuid = stunnel
      setgid = stunnel
      
      [testing]
      local = 192.168.74.128
      accept = 192.168.74.128:444
      connect = 192.168.74.128:443
      TIMEOUTclose = 0
      
      

      Am i correct in assuming this is up to date http://doc.pfsense.org/index.php/Creating_Your_Own_Package_Repository and https://github.com/pfsense/pfsense-packages/tree/master/config/stunnel this is the latest package xml and inc file.

      Is there any other guides that would be helpful in trying to fix this?

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