1cattunnel 0.1.2-b.2 → 0.1.2-b.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/dist/client-linux.json +13 -14
- package/dist/client-windows.json +13 -14
- package/dist/tunnel-client-linux-amd64 +0 -0
- package/dist/tunnel-client-windows-amd64.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,13 +14,20 @@ npm install -g 1cattunnel
|
|
|
14
14
|
1cattunnel
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
The package bundles Windows/Linux amd64 client binaries.
|
|
17
|
+
The package bundles Windows/Linux amd64 client binaries. It does not include the enrollment password.
|
|
18
|
+
|
|
19
|
+
On first run it creates a writable user config and the Go client wizard asks for either:
|
|
20
|
+
|
|
21
|
+
- a WebUI bootstrap token; or
|
|
22
|
+
- the enrollment password from the administrator.
|
|
23
|
+
|
|
24
|
+
The entered enrollment password is saved locally so later runs can reconnect automatically.
|
|
25
|
+
|
|
26
|
+
Config path:
|
|
18
27
|
|
|
19
28
|
- Windows: `%APPDATA%\\1cat-tunnel\\client-windows.json`
|
|
20
29
|
- Linux: `~/.config/1cat-tunnel/client-linux.json`
|
|
21
30
|
|
|
22
|
-
Default config connects to `dx.1catai.com:50001` with enrollment password `SuperYMZX666`. The server then issues a per-node runtime credential automatically.
|
|
23
|
-
|
|
24
31
|
Use a custom config if needed:
|
|
25
32
|
|
|
26
33
|
```bash
|
package/dist/client-linux.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"server_addr": "dx.1catai.com:50001",
|
|
3
|
+
"node_name": "cust-linux-01",
|
|
4
|
+
"reconnect_interval_sec": 5,
|
|
5
|
+
"presets": [
|
|
6
|
+
{
|
|
7
|
+
"name": "ssh",
|
|
8
|
+
"local_addr": "0.0.0.0:22",
|
|
9
|
+
"description": "Expose local SSH",
|
|
10
|
+
"protocol": "tcp"
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
}
|
package/dist/client-windows.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"server_addr": "dx.1catai.com:50001",
|
|
3
|
+
"node_name": "cust-win-01",
|
|
4
|
+
"reconnect_interval_sec": 5,
|
|
5
|
+
"presets": [
|
|
6
|
+
{
|
|
7
|
+
"name": "rdp",
|
|
8
|
+
"local_addr": "127.0.0.1:3389",
|
|
9
|
+
"description": "Expose local RDP",
|
|
10
|
+
"protocol": "tcp"
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
}
|
|
Binary file
|
|
Binary file
|