b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 | |
| 11 | @@ -15,15 +19,16 @@ chroot: "/var/empty"; |
| 12 | # Change hostname with your external address name. |
| 13 | listen: |
| 14 | ( |
| 15 | - { host: "thelonious"; port: "443"; } |
| 16 | + { host: "0.0.0.0"; port: "443"; }, |
| 17 | + { host: "[::]"; port: "443"; } |
| 18 | ); |
| 19 | |
| 20 | protocols: |
| 21 | ( |
| 22 | { name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; fork: true; }, |
| 23 | { name: "openvpn"; host: "localhost"; port: "1194"; }, |
| 24 | - { name: "xmpp"; host: "localhost"; port: "5222"; }, |
| 25 | - { name: "http"; host: "localhost"; port: "80"; }, |
| 26 | +# { name: "xmpp"; host: "localhost"; port: "5222"; }, |
| 27 | +# { name: "http"; host: "localhost"; port: "80"; }, |
| 28 | { name: "tls"; host: "localhost"; port: "443"; log_level: 0; }, |
| 29 | { name: "anyprot"; host: "localhost"; port: "443"; } |
| 30 | ); |