forked from skycoin/viscript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
104 lines (102 loc) · 4.45 KB
/
config.yaml
File metadata and controls
104 lines (102 loc) · 4.45 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Viscript's configuration file that contains apps and other settings
apps:
# These apps are commented out because they don't talk to viscript
# skycoin:
# path: /bin/skycoin/skycoin
# args:
# - --gui-dir=/bin/skycoin/static/
# desc: Skycoin main binary
# skycoin-cli:
# path: /bin/skycoin/skycoin-cli
# args:
# desc: Skycoin command line interface
# meshnet-server:
# path: /bin/meshnet/meshnet-server
# args:
# desc: Meshnet nodes manager server
# meshnet-cli:
# path: /bin/meshnet/meshnet-cli
# args:
# desc: Command line client for meshnet nodes manager server
meshnet-nm:
desc: Run meshnet node manager
path: bin/meshnet/meshnet-run-nm
args:
- domain_name # common domain name
- 0.0.0.0:5999 # host:port for control messages exchange
help: |
[1] Common Domain name. ex domain.network
[2] Host for control messages exchange. ex 0.0.0.0:5999
Full Example Command:
start meshnet-nm domain.network 0.0.0.0:5999
meshnet-node:
desc: Run meshnet node
path: bin/meshnet/meshnet-run-node
args:
- 111.222.123.44:5000 # host:port for control messages exchange. WHY IS THIS PRESENT HERE? DATA FROM EXAMPLES IS ALWAYS WEIRD, THERE ARE NO DEFAULTS AT ALL
- 202.101.65.43:5999 # nodemanager external address for control messages
- true # if the node needs to be connected randomly
- 15000 # tcp port at which node will listen app messages
- hostname # hostname alias
help: |
[1] Host for control messages exchange. ex 111.222.123.44:5000
[2] Node manager external address for control messages exchange. ex 202.101.65.43:5999
[3] True if node needs to be connected randomly, false otherwise.
[4] TCP port at which node will listen messages from apps. ex 15000
[5] Hostname alias. ex hostname
Full Example Command
start meshnet-node 111.222.123.44:5000 202.101.65.43:5999 true 8000 hostname
meshnet-socks-client:
desc: Run meshnet socks client
path: bin/meshnet/meshnet-run-socks-client
args:
- sockscli # text name of app, must be unique
- 101.202.34.56:9000 # node host:port which app will be talked with
- 8000 # port which socks will listen for web app messages
help: |
[1] Text name of app, must be unique
[2] Node address which app will be talked with. ex 101.202.34.56:9000
[3] Port which socks will listen for web app incoming messages. ex 8000
Full Example Command
start meshnet-socks-client sockscli0 101.202.34.56:9000 8001
meshnet-socks-server:
desc: Run meshnet socks server
path: bin/meshnet/meshnet-run-socks-server
args:
- sockssrv # text name of app, must be unique
- 101.202.34.56:9000 # node host:port which app will be talked with
- 8001 # port which socks server use for conn target host
help: |
[1] Text name of app, must be unique
[2] Node address which app will be talked with. ex 101.202.34.56:9000
[3] Port which socks server will use for connecting with target host. ex 8000
Full Example Command
start meshnet-socks-server sockssrv0 101.202.34.56:9000 8001
meshnet-vpn-client:
desc: Run meshnet vpn client
path: bin/meshnet/meshnet-run-vpn-server
args:
- vpncli0
- 101.202.34.56:9000
- 8000
help: |
[1] Text name of app, must be unique
[2] Node address which app will be talked with. ex 101.202.34.56:9000
[3] Port which vpn will listen for web app incoming messages. ex 8000
Full Example Command
start meshnet-vpn-client vpncli0 101.202.34.56:9000 8000
meshnet-vpn-server:
desc: Run meshnet vpn server
path: bin/meshnet/meshnet-run-vpn-server
args:
- vpnsrv0 # text name of app, must be unique
- 101.202.34.56:9000 # node host:port which app will be talked with
help: |
[1] Text name of app, must be unique.
[2] Node address which app will be talked with. ex 101.202.34.56:9000
Full Example Command
start meshnet-vpn-server vpnsrv0 101.202.34.56:9000
settings:
verboseInput: false # Will print key and mouse input if set to true
verifyParsingByPrinting: true # Will print this file's contents
runHeadless: false # Run without terminals and OpenGL front