-
Notifications
You must be signed in to change notification settings - Fork 5
/
bindports_conf
70 lines (64 loc) · 1.63 KB
/
bindports_conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Bind Port List
# ----------------------------------------------
# syntax: <program> <port/service> <option>
# program: arbitary name
# port: numeric port number or special name.
# option: parameter to this connection.
# ----------------------------------------------
# mode selection for 'bbsctl start'
# ----------------------------------------------
# * current available modes: mbbsd, logind
#bbsctl mode mbbsd
#bbsctl mode logind
# standalone mbbsd ports
# ----------------------------------------------
# * list all ports you want mbbsd to listen here.
#mbbsd 23
#mbbsd 443
#mbbsd 3000
#mbbsd 3001
#mbbsd 3002
#mbbsd 3003
#mbbsd 3004
#mbbsd 3005
#mbbsd 3006
#mbbsd 3007
#mbbsd 3008
#mbbsd 3009
#mbbsd 3010
mbbsd 8888
# logind ports
# ----------------------------------------------
# * list all ports for logind to listen here.
#logind 23
#logind 443
#logind 3000
#logind 3001
#logind 3002
#logind 3003
#logind 3004
#logind 3005
#logind 3006
#logind 3007
#logind 3008
#logind 3009
#logind 3010
logind 8888
# * bind logind to unix socket for conn forwarding.
#logind unix run/logind.connfwd.sock
logind unix 766 run/logind.connfwd.sock
# logind client setings
# ----------------------------------------------
# * if this is set, each restart logind will
# also invoke the client.
#
# * example (let mbbsd listen to all tunnel+ports)
logind client bin/mbbsd -d -f etc/bindports.conf
#
# * example (let one mbbsd listen to tunnel only)
#logind client bin/mbbsd -n run/logind.tunnel
# tunnel mappings
# ----------------------------------------------
# * to configure the path of tunnels
mbbsd tunnel run/logind.tunnel
logind tunnel run/logind.tunnel