Stunnel client config in GUI.



  • Hi all,

    Since blocked OpenVPN by "some firewalls", searched a solution that use Stunnel service with OpenVPN to solve it. Because the solution that must set as Stunnel client in the VPN client machine but the GUI of Stunnel package that not provided the option. I added some lines in the config files, .xml and .inc, and tested that is running well. Would it be added in the next version of Stunnel for users set up easily?
    Thanks.

    Cheers,
    Qho

    /usr/local/etc/stunnel.xml
    Add the following lines AFTER "<fields>".

    
     <field><fielddescr>Client</fielddescr>
            <fieldname>client</fieldname>
            <type>checkbox</type></field> 
    
    

    /usr/local/etc/stunnel.inc
    Add the following lines BEFORE "if($pkgconfig['certificate']) {"

    
    if($pkgconfig['client']) fwrite($fout, "client = yes" . "\n");
    
    ```</fields>

Log in to reply