# DeTEE WireGuard Example
This examples shows how WireGuard can be used to create network overlays on top of DeTEE.
The example is academic and real world scenarios will require improved setups.
## Network Diagram
```mermaid
graph LR
Laptop[Laptop
local-cali: 10.100.10.10/24
local-vanc: 10.200.20.10/24]
CaliBastion[Cali Bastion
Server: 10.100.10.1/24
Client: 10.200.20.21/24]
VancBastion[Vanc Bastion
Server: 10.200.20.1/24
Client: 10.100.10.21/24]
CaliProtected[Cali Protected
cali: 10.100.10.101/24
vanc: 10.200.20.101/24]
VancProtected[Vanc Protected
cali: 10.100.10.201/24
vanc: 10.200.20.201/24]
Laptop -- "WireGuard" --> CaliBastion
Laptop -- "WireGuard" --> VancBastion
CaliBastion -- "WireGuard" --> CaliProtected
CaliBastion -- "WireGuard" --> VancProtected
VancBastion -- "WireGuard" --> CaliProtected
VancBastion -- "WireGuard" --> VancProtected
```
## Commands
To create the VMs, run `./create_vms.sh`.
To deploy WireGuard, run `./deploy.sh`.