-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathWiretap_Configure.drawio
141 lines (141 loc) · 17.6 KB
/
Wiretap_Configure.drawio
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.8 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" version="24.7.8">
<diagram id="e3q73qmI6FWCRJhKJi0n" name="Page-1">
<mxGraphModel dx="2074" dy="1196" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<UserObject label="" animation="# show everything
show VQUGQQ_OnS2NU-rycE4X-38 fade
show VQUGQQ_OnS2NU-rycE4X-29 fade
show VQUGQQ_OnS2NU-rycE4X-78 fade
show VQUGQQ_OnS2NU-rycE4X-23 fade
show VQUGQQ_OnS2NU-rycE4X-18 fade
show VQUGQQ_OnS2NU-rycE4X-32 fade
show VQUGQQ_OnS2NU-rycE4X-6 fade
show VQUGQQ_OnS2NU-rycE4X-35 fade
show VQUGQQ_OnS2NU-rycE4X-34 fade
show VQUGQQ_OnS2NU-rycE4X-36 fade
show VQUGQQ_OnS2NU-rycE4X-37 fade
show IBNPmSZJS5FAOytZOC4L-5 fade

show wN3jGvzEee-aj5tuvHeW-2 fade
show wN3jGvzEee-aj5tuvHeW-1 fade
show VQUGQQ_OnS2NU-rycE4X-10 fade
show VQUGQQ_OnS2NU-rycE4X-20 fade
show VQUGQQ_OnS2NU-rycE4X-39 fade
show VQUGQQ_OnS2NU-rycE4X-8 fade
show VQUGQQ_OnS2NU-rycE4X-53 fade
show wN3jGvzEee-aj5tuvHeW-4 fade
show wN3jGvzEee-aj5tuvHeW-3 fade
wait 1000

# Wiretap deployed, show handshake
show wN3jGvzEee-aj5tuvHeW-5 fade
show wN3jGvzEee-aj5tuvHeW-6 fade
show FmDstwN8osCTSLxOBSY--1 fade
show FmDstwN8osCTSLxOBSY--7 fade
show FmDstwN8osCTSLxOBSY--10 fade
show FmDstwN8osCTSLxOBSY--2 fade
flow wN3jGvzEee-aj5tuvHeW-6 start
flow FmDstwN8osCTSLxOBSY--1 start
flow FmDstwN8osCTSLxOBSY--7 start
flow FmDstwN8osCTSLxOBSY--10 start
flow FmDstwN8osCTSLxOBSY--2 start
wait 2000
show FmDstwN8osCTSLxOBSY--9 fade
show oPV8zDyL8UI4lHpnsqUg-2 fade
show oPV8zDyL8UI4lHpnsqUg-3 fade
show oPV8zDyL8UI4lHpnsqUg-4 fade
show oPV8zDyL8UI4lHpnsqUg-5 fade
flow FmDstwN8osCTSLxOBSY--9 start
flow oPV8zDyL8UI4lHpnsqUg-2 start
flow oPV8zDyL8UI4lHpnsqUg-3 start
flow oPV8zDyL8UI4lHpnsqUg-4 start
wait 2000

# show ping
show oPV8zDyL8UI4lHpnsqUg-7 fade
wait 1000

show VQUGQQ_OnS2NU-rycE4X-77 fade
wait 1000


show oPV8zDyL8UI4lHpnsqUg-10 fade
show oPV8zDyL8UI4lHpnsqUg-12 fade
wait 1000

show oPV8zDyL8UI4lHpnsqUg-15 fade
show oPV8zDyL8UI4lHpnsqUg-16 fade
wait 1000

show oPV8zDyL8UI4lHpnsqUg-8 fade
wait 5000
" id="0">
<mxCell />
</UserObject>
<mxCell id="1" parent="0" />
<mxCell id="IBNPmSZJS5FAOytZOC4L-5" value="" style="endArrow=none;dashed=1;html=1;rounded=1;strokeColor=#7EA6E0;strokeWidth=5;jumpStyle=none;edgeStyle=isometricEdgeStyle;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="645" y="147" as="sourcePoint" />
<mxPoint x="941" y="312" as="targetPoint" />
<Array as="points">
<mxPoint x="479.26" y="378" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-15" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="520" y="189.61" width="87.18999999999994" height="45.59000000000003" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-16" value="<br><div><i></i></div>" style="text;html=1;strokeColor=#314354;fillColor=#647687;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontFamily=Courier New;fontStyle=1;fontColor=#ffffff;" parent="dTdVm22ynEOEwNfV1y40-15" vertex="1">
<mxGeometry y="1.490000000000009" width="87.19" height="44.1" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-17" value="Server" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fontStyle=1;fontColor=#FFFFFF;" parent="dTdVm22ynEOEwNfV1y40-15" vertex="1">
<mxGeometry x="13.590000000000146" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-18" value="10.0.0.2" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fontStyle=1;fontColor=#FFFFFF;" parent="dTdVm22ynEOEwNfV1y40-15" vertex="1">
<mxGeometry x="13.590000000000146" y="15.589999999999975" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="VQUGQQ_OnS2NU-rycE4X-8" value="" style="verticalLabelPosition=bottom;html=1;verticalAlign=top;strokeWidth=1;align=center;outlineConnect=0;dashed=0;outlineConnect=0;shape=mxgraph.aws3d.application2;fillColor=#7EA6E0;strokeColor=#A9C4EB;aspect=fixed;" parent="1" vertex="1">
<mxGeometry x="590" y="220" width="62" height="53" as="geometry" />
</mxCell>
<mxCell id="VQUGQQ_OnS2NU-rycE4X-10" value="" style="verticalLabelPosition=bottom;html=1;verticalAlign=top;strokeWidth=1;align=center;outlineConnect=0;dashed=0;outlineConnect=0;shape=mxgraph.aws3d.application2;fillColor=#B266FF;strokeColor=#CC99FF;aspect=fixed;" parent="1" vertex="1">
<mxGeometry x="720" y="295.8" width="62" height="53" as="geometry" />
</mxCell>
<mxCell id="VQUGQQ_OnS2NU-rycE4X-20" value="" style="verticalLabelPosition=bottom;html=1;verticalAlign=top;strokeWidth=1;align=center;outlineConnect=0;dashed=0;outlineConnect=0;shape=mxgraph.aws3d.client;aspect=fixed;strokeColor=none;fillColor=#777777;" parent="1" vertex="1">
<mxGeometry x="754.9999999999999" y="255" width="30.57" height="53" as="geometry" />
</mxCell>
<mxCell id="VQUGQQ_OnS2NU-rycE4X-29" value="" style="verticalLabelPosition=bottom;html=1;verticalAlign=top;strokeWidth=1;align=center;outlineConnect=0;dashed=0;outlineConnect=0;shape=mxgraph.aws3d.dataCenter;strokeColor=#5E5E5E;aspect=fixed;fillColor=#FF6666;gradientColor=none;" parent="1" vertex="1">
<mxGeometry x="316.84000000000003" y="515.5" width="71.03" height="82" as="geometry" />
</mxCell>
<mxCell id="VQUGQQ_OnS2NU-rycE4X-23" value="" style="verticalLabelPosition=bottom;html=1;verticalAlign=top;strokeWidth=1;align=center;outlineConnect=0;dashed=0;outlineConnect=0;shape=mxgraph.aws3d.end_user;strokeColor=none;fillColor=#777777;aspect=fixed;" parent="1" vertex="1">
<mxGeometry x="358.38000000000005" y="469.99999999999994" width="29.49" height="60.46" as="geometry" />
</mxCell>
<mxCell id="VQUGQQ_OnS2NU-rycE4X-38" value="" style="sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.wireguard;fontFamily=Courier New;fontSize=19;" parent="1" vertex="1">
<mxGeometry x="295.85999999999996" y="567.96" width="26.5" height="26.5" as="geometry" />
</mxCell>
<mxCell id="VQUGQQ_OnS2NU-rycE4X-39" value="" style="sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#DF8C42;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.wireguard;fontFamily=Courier New;fontSize=19;" parent="1" vertex="1">
<mxGeometry x="590" y="255.49" width="24.96" height="24" as="geometry" />
</mxCell>
<mxCell id="VQUGQQ_OnS2NU-rycE4X-53" value="" style="verticalLabelPosition=bottom;html=1;verticalAlign=top;strokeWidth=1;align=center;outlineConnect=0;dashed=0;outlineConnect=0;shape=mxgraph.aws3d.client;aspect=fixed;strokeColor=none;fillColor=#777777;" parent="1" vertex="1">
<mxGeometry x="625" y="179" width="30.57" height="53" as="geometry" />
</mxCell>
<mxCell id="VQUGQQ_OnS2NU-rycE4X-77" value="<i>&nbsp; client$ </i>./wiretap configure<br><span style="white-space: pre;">	</span>--endpoint 7.3.3.1:1337 <br><span style="white-space: pre;">	</span>--routes 10.0.0.0/24<br><div><i></i></div>" style="text;html=1;strokeColor=#314354;fillColor=#647687;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontFamily=Courier New;fontStyle=1;fontColor=#ffffff;" parent="1" vertex="1">
<mxGeometry x="119" y="158.75" width="253.63" height="93.5" as="geometry" />
</mxCell>
<mxCell id="FmDstwN8osCTSLxOBSY--2" value="" style="endArrow=classicThin;html=1;rounded=1;fontFamily=Courier New;jumpSize=12;strokeWidth=3;endFill=1;strokeColor=#EA6B66;edgeStyle=isometricEdgeStyle;startArrow=none;startFill=0;dashed=1;flowAnimation=1;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="586" y="271" as="sourcePoint" />
<mxPoint x="296" y="596" as="targetPoint" />
<Array as="points">
<mxPoint x="159" y="600" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="FmDstwN8osCTSLxOBSY--9" value="" style="endArrow=classicThin;html=1;rounded=1;fontFamily=Courier New;jumpSize=12;strokeWidth=3;endFill=1;strokeColor=#EA6B66;startArrow=none;startFill=0;edgeStyle=isometricEdgeStyle;dashed=1;flowAnimation=1;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="292" y="588" as="sourcePoint" />
<mxPoint x="586" y="280" as="targetPoint" />
<Array as="points">
<mxPoint x="164" y="594" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="VQUGQQ_OnS2NU-rycE4X-18" value="" style="verticalLabelPosition=bottom;html=1;verticalAlign=top;strokeWidth=1;align=center;outlineConnect=0;dashed=0;outlineConnect=0;shape=mxgraph.aws3d.cloudfront;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;" parent="1" vertex="1">
<mxGeometry x="185" y="336" width="103.8" height="169.79999999999998" as="geometry" />
</mxCell>
<mxCell id="VQUGQQ_OnS2NU-rycE4X-6" value="" style="verticalLabelPosition=bottom;html=1;verticalAlign=top;strokeWidth=1;align=center;outlineConnect=0;dashed=0;outlineConnect=0;shape=mxgraph.aws3d.customerGateway;fillColor=#ECECEC;strokeColor=#5E5E5E;aspect=fixed;" parent="1" vertex="1">
<mxGeometry x="384" y="289" width="118.06" height="104" as="geometry" />
</mxCell>
<mxCell id="zmwg3pBIKIv0O4HrFYE8-2" value="--port 1337&nbsp;<div><span style="font-weight: normal;">configures the Client's WireGuard listening port; if omitted, will copy the&nbsp;</span><span style="background-color: initial;">--endpoint</span><span style="background-color: initial; font-weight: normal;"> port value</span></div>" style="text;html=1;strokeColor=#82b366;fillColor=#d5e8d4;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="420" y="503" width="190" height="97" as="geometry" />
</mxCell>
<mxCell id="zmwg3pBIKIv0O4HrFYE8-3" value="--endpoint 7.3.3.1:1337 <span style="font-weight: normal;">tells the Server how to connect to the Client</span>" style="text;html=1;strokeColor=#82b366;fillColor=#d5e8d4;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="670" y="179" width="191" height="56.2" as="geometry" />
</mxCell>
<mxCell id="zmwg3pBIKIv0O4HrFYE8-5" value="--routes 10.0.0.0/24<br><span style="font-weight: normal;">configures the Client's machine to route traffic destined for this subnet through the WireGuard Tunnel</span>" style="text;html=1;strokeColor=#82b366;fillColor=#d5e8d4;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="640" y="503" width="191" height="94.2" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-5" value="<br><div><i></i></div>" style="text;html=1;strokeColor=#314354;fillColor=#647687;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontFamily=Courier New;fontStyle=1;fontColor=#ffffff;" parent="1" vertex="1">
<mxGeometry x="592.87" y="359" width="117.13" height="64.4" as="geometry" />
</mxCell>
<mxCell id="VQUGQQ_OnS2NU-rycE4X-37" value="<div style="font-size: 17px;">Internal Network</div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fontStyle=1;fontSize=17;fontColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="621.43" y="376.2" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-11" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="768.41" y="313.40999999999997" width="87.18999999999994" height="45.59000000000003" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-3" value="<br><div><i></i></div>" style="text;html=1;strokeColor=#314354;fillColor=#647687;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontFamily=Courier New;fontStyle=1;fontColor=#ffffff;" parent="dTdVm22ynEOEwNfV1y40-11" vertex="1">
<mxGeometry y="1.490000000000009" width="87.19" height="44.1" as="geometry" />
</mxCell>
<mxCell id="wN3jGvzEee-aj5tuvHeW-1" value="Target" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fontStyle=1;fontColor=#FFFFFF;" parent="dTdVm22ynEOEwNfV1y40-11" vertex="1">
<mxGeometry x="13.590000000000146" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="wN3jGvzEee-aj5tuvHeW-2" value="10.0.0.3" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fontStyle=1;fontColor=#FFFFFF;" parent="dTdVm22ynEOEwNfV1y40-11" vertex="1">
<mxGeometry x="13.590000000000146" y="15.589999999999975" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-19" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="308.76" y="610" width="87.18999999999994" height="45.59000000000003" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-20" value="<br><div><i></i></div>" style="text;html=1;strokeColor=#314354;fillColor=#647687;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontFamily=Courier New;fontStyle=1;fontColor=#ffffff;" parent="dTdVm22ynEOEwNfV1y40-19" vertex="1">
<mxGeometry y="1.490000000000009" width="87.19" height="44.1" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-21" value="Client" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fontStyle=1;fontColor=#FFFFFF;" parent="dTdVm22ynEOEwNfV1y40-19" vertex="1">
<mxGeometry x="13.590000000000146" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-22" value="7.3.3.1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fontStyle=1;fontColor=#FFFFFF;" parent="dTdVm22ynEOEwNfV1y40-19" vertex="1">
<mxGeometry x="13.590000000000146" y="15.589999999999975" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-28" value="" style="group;rotation=30;" parent="1" vertex="1" connectable="0">
<mxGeometry x="107.51" y="567.96" width="130" height="32.89999999999998" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-24" value="<br><div><i></i></div>" style="text;html=1;strokeColor=#314354;fillColor=#647687;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontFamily=Courier New;fontStyle=1;fontColor=#ffffff;rotation=30;" parent="dTdVm22ynEOEwNfV1y40-28" vertex="1">
<mxGeometry x="10" y="11" width="110" height="11.63" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-26" value="<font style="font-size: 10px;">WireGuard Tunnel</font>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fontStyle=1;fontColor=#FFFFFF;fontSize=11;rotation=30;" parent="dTdVm22ynEOEwNfV1y40-28" vertex="1">
<mxGeometry x="10" width="109.74" height="32.9" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-29" value="" style="group;rotation=0;" parent="1" vertex="1" connectable="0">
<mxGeometry x="170" y="280" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-30" value="<br><div><i></i></div>" style="text;html=1;strokeColor=#314354;fillColor=#647687;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=1;fontFamily=Courier New;fontStyle=1;fontColor=#ffffff;rotation=0;" parent="dTdVm22ynEOEwNfV1y40-29" vertex="1">
<mxGeometry x="8.779999999999998" y="17.118541033434663" width="96.57999999999997" height="18.09896656534956" as="geometry" />
</mxCell>
<mxCell id="dTdVm22ynEOEwNfV1y40-31" value="<font style="font-size: 12px;">Internet</font>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fontStyle=1;fontColor=#FFFFFF;fontSize=12;rotation=0;" parent="dTdVm22ynEOEwNfV1y40-29" vertex="1">
<mxGeometry x="4.39" y="-3.83" width="111.22" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>