source: trunk/debian/packages/debwrt-net/trunk/etc/sslh/sslh.cfg @ 885

Last change on this file since 885 was 885, checked in by amain, 3 years ago

debwrt-net: update debwrt-dnsmask.conf and add sshl

File size: 1.2 KB
Line 
1verbose: true;
2foreground: false;
3inetd: false;
4numeric: true;
5timeout: 2;
6user: "sslh";
7pidfile: "/var/run/sslh/sslh.pid";
8# transparent mode: if true, requires help of firewall (see /etc/firewall/sslh.inc.sh)
9transparent: false;
10
11# List of interfaces on which we should listen
12listen:
13(
14    { host: "0.0.0.0"; port: "8080"; }
15);
16
17# List of protocols
18#
19# Each protocol entry consists of:
20#   name: name of the protocol
21#   service: (optional) libwrap service name (see hosts_access(5))
22#   host: host name to connect that protocol
23#   port: port number to connect that protocol
24#   probe: "builtin" or a list of regular expressions
25#   
26# In case of timeout sslh will connect to the first
27# protocol: this should be SSH.
28# SSL should have a "always true" probe, and come last.
29# sslh will try each probe in order they are declared, and
30# connect to the first that matches.
31
32# Keep format to allow firewall script to auto scan for ports / ips
33protocols:
34(
35     { name: "ssh"; service: "ssh"; host: "192.168.1.100"; port: "22"; probe: "builtin"; },
36     { name: "openvpn"; host: "192.168.1.101"; port: "1194"; probe: "builtin"; },
37     { name: "ssl"; host: "192.168.102"; port: "443"; probe: [ "" ]; }
38);
39
Note: See TracBrowser for help on using the repository browser.