# DO - Netwerk

{{#include ../../../banners/hacktricks-training.md}}

### Domeine
```bash
doctl compute domain list
doctl compute domain records list <domain>
# You can also create records
```
### Gereserveerde IP's
```bash
doctl compute reserved-ip list
doctl compute reserved-ip-action unassign <ip>
```
### Laai Balancers
```bash
doctl compute load-balancer list
doctl compute load-balancer remove-droplets <id> --droplet-ids 12,33
doctl compute load-balancer add-forwarding-rules <id> --forwarding-rules entry_protocol:tcp,entry_port:3306,...
```
### VPC
```
doctl vpcs list
```
### Vuurmuur

> [!CAUTION]
> Standaard **word druppels geskep SONDER 'N VUURMUUR** (nie soos in ander wolke soos AWS of GCP nie). So as jy wil hê DO moet die poorte van die druppel (VM) beskerm, moet jy dit **skep en aanheg**.
```bash
doctl compute firewall list
doctl compute firewall list-by-droplet <droplet-id>
doctl compute firewall remove-droplets <fw-id> --droplet-ids <droplet-id>
```
{{#include ../../../banners/hacktricks-training.md}}
