File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,13 @@ $ docker start -a -i multitls-client
45
45
#### VM-Server
46
46
47
47
```
48
- multiTLS -s <port-number> <number-of-tunnels> <cert-1> <cafile-1> <cert-2> <cafile-2>
48
+ $ multiTLS -s <port-number> <number-of-tunnels> <cert-1> <cafile-1> <cert-2> <cafile-2>
49
49
```
50
50
51
51
#### VM-Client
52
52
53
53
```
54
- multiTLS -c <port-number> <number-of-tunnels> <IPServer> <cert-1> <cafile-1> <cert-2> <cafile-2>
54
+ $ multiTLS -c <port-number> <number-of-tunnels> <IPServer> <cert-1> <cafile-1> <cert-2> <cafile-2>
55
55
```
56
56
57
57
@@ -61,27 +61,27 @@ $ docker start -a -i multitls-client
61
61
In the server container with an IP address ** 192.169.1.1** execute:
62
62
63
63
```
64
- multiTLS -s 11444 2 cert-1.pem cafile-1.crt cert-2.pem cafile-2.ctr
64
+ $ multiTLS -s 11444 2 cert-1.pem cafile-1.crt cert-2.pem cafile-2.ctr
65
65
```
66
66
67
67
In the client container execute:
68
68
69
69
```
70
- multiTLS -c 11444 2 192.169.1.1 cert-1.pem cafile-1.crt cert-2.pem cafile-2.ctr
70
+ $ multiTLS -c 11444 2 192.169.1.1 cert-1.pem cafile-1.crt cert-2.pem cafile-2.ctr
71
71
```
72
72
73
73
### Example of an ECHO Application
74
74
75
75
In the server container with an IP address ** 192.169.1.1** execute:
76
76
77
77
```
78
- socat - tcp-listen:11445
78
+ $ socat - tcp-listen:11445
79
79
```
80
80
81
81
In the client container execute:
82
82
83
83
```
84
- socat tcp:192.169.1.1:11445 echo
84
+ $ socat tcp:192.169.1.1:11445 echo
85
85
```
86
86
87
87
You can’t perform that action at this time.
0 commit comments