You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.0 KiB

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