lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

002-configfile-fix.patch (1126B)


      1 diff --git a/basic.cfg b/basic.cfg
      2 index 54a799c..d938767 100644
      3 --- a/basic.cfg
      4 +++ b/basic.cfg
      5 @@ -1,3 +1,7 @@
      6 +# **** Attention OpenWRT/LEDE Users ****
      7 +# sslh command line arguments override arguments defined in this
      8 +# configuration file (UCI uses command line arguments)
      9 +
     10  # This is a basic configuration file that should provide
     11  # sensible values for "standard" setup.
     12  
     13 @@ -14,15 +18,16 @@ pidfile: "/var/run/sslh.pid";
     14  # Change hostname with your external address name.
     15  listen:
     16  (
     17 -    { host: "thelonious"; port: "443"; }
     18 +    { host: "0.0.0.0"; port: "443"; },
     19 +    { host: "[::]"; port: "443"; }
     20  );
     21  
     22  protocols:
     23  (
     24       { name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; },
     25       { name: "openvpn"; host: "localhost"; port: "1194"; },
     26 -     { name: "xmpp"; host: "localhost"; port: "5222"; },
     27 -     { name: "http"; host: "localhost"; port: "80"; },
     28 +#    { name: "xmpp"; host: "localhost"; port: "5222"; },
     29 +#    { name: "http"; host: "localhost"; port: "80"; },
     30       { name: "ssl"; host: "localhost"; port: "443"; log_level: 0; },
     31       { name: "anyprot"; host: "localhost"; port: "443"; }
     32  );