diff --git a/docs/images/networking/stun1.png b/docs/images/networking/stun1.png new file mode 100644 index 0000000000..b8d51503dc Binary files /dev/null and b/docs/images/networking/stun1.png differ diff --git a/docs/images/networking/stun1.svg b/docs/images/networking/stun1.svg deleted file mode 100644 index 9767515c6b..0000000000 --- a/docs/images/networking/stun1.svg +++ /dev/null @@ -1 +0,0 @@ -
Private Network
Client Workstation
192.168.21.47:38297
Workspace Agent
192.168.21.147:41563
\ No newline at end of file diff --git a/docs/images/networking/stun2.1.png b/docs/images/networking/stun2.1.png new file mode 100644 index 0000000000..98977d328e Binary files /dev/null and b/docs/images/networking/stun2.1.png differ diff --git a/docs/images/networking/stun2.1.svg b/docs/images/networking/stun2.1.svg deleted file mode 100644 index 2dc60789b8..0000000000 --- a/docs/images/networking/stun2.1.svg +++ /dev/null @@ -1 +0,0 @@ -
Network B
Public Internet
Network A
[I see 12.34.56.7:41563]
[I see 65.4.3.21:29187]
Workspace agent
10.21.43.241:56812
NAT
??.??.??.??:?????
STUN server
Client workstation
192.168.1.101:38297
NAT
??.??.??.??:?????
\ No newline at end of file diff --git a/docs/images/networking/stun2.2.png b/docs/images/networking/stun2.2.png new file mode 100644 index 0000000000..3ccb5243bc Binary files /dev/null and b/docs/images/networking/stun2.2.png differ diff --git a/docs/images/networking/stun2.2.svg b/docs/images/networking/stun2.2.svg deleted file mode 100644 index 07880c9f39..0000000000 --- a/docs/images/networking/stun2.2.svg +++ /dev/null @@ -1 +0,0 @@ -
Network B
Network A
[12.34.56.7:41563]
[10.21.43.241:56812]
[12.34.56.7:41563]
[12.34.56.7:41563]
Workspace agent
10.21.43.241:56812
NAT
12.34.56.7:41563
Client workstation
192.168.1.101:38297
NAT
65.4.3.21:29187
Public Internet
\ No newline at end of file diff --git a/docs/images/networking/stun3.png b/docs/images/networking/stun3.png new file mode 100644 index 0000000000..63e788d65c Binary files /dev/null and b/docs/images/networking/stun3.png differ diff --git a/docs/images/networking/stun3.svg b/docs/images/networking/stun3.svg deleted file mode 100644 index 2b4c423a7c..0000000000 --- a/docs/images/networking/stun3.svg +++ /dev/null @@ -1 +0,0 @@ -
Corp Network 172.16.1.0/24
Public Internet
Home Network
Cluster Network 10.11.12.0/16
Corp Router/NAT
172.16.1.1
12.34.56.7
VPN exit node
172.16.1.2
Private STUN
Cluster Router/NAT
10.11.12.1
172.16.1.254
Workspace agent
10.11.12.34
Public STUN
VPN entry node
Client workstation
192.168.1.101
Home Router/NAT
65.4.3.21
\ No newline at end of file diff --git a/docs/networking/stun.md b/docs/networking/stun.md index ef4934f195..af201e65b3 100644 --- a/docs/networking/stun.md +++ b/docs/networking/stun.md @@ -66,7 +66,7 @@ In this example, both the client and agent are located on the network direction, both client and agent are able to communicate directly with each other's locally assigned IP address. -![Diagram of a workspace agent and client in the same network](../images/networking/stun1.svg) +![Diagram of a workspace agent and client in the same network](../images/networking/stun1.png) ### 2. Direct connections with one layer of NAT @@ -75,12 +75,12 @@ to each other over the public Internet. Both client and agent connect to a configured STUN server located on the public Internet to determine the public IP address and port on which they can be reached. -![Diagram of a workspace agent and client in separate networks](../images/networking/stun2.1.svg) +![Diagram of a workspace agent and client in separate networks](../images/networking/stun2.1.png) They then exchange this information through Coder server, and can then communicate directly with each other through their respective NATs. -![Diagram of a workspace agent and client in separate networks](../images/networking/stun2.2.svg) +![Diagram of a workspace agent and client in separate networks](../images/networking/stun2.2.png) ### 3. Direct connections with VPN and NAT hairpinning @@ -121,4 +121,4 @@ addresses on the corporate network from which their traffic appears to originate. Using these internal addresses is much more likely to result in a successful direct connection. -![Diagram of a workspace agent and client over VPN](../images/networking/stun3.svg) +![Diagram of a workspace agent and client over VPN](../images/networking/stun3.png)