mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2025-12-29 14:13:20 -08:00
1.0 KiB
1.0 KiB
DO - Networking
{{#include ../../../banners/hacktricks-training.md}}
Domains
doctl compute domain list
doctl compute domain records list <domain>
# You can also create records
Reservierte IPs
doctl compute reserved-ip list
doctl compute reserved-ip-action unassign <ip>
Load Balancer
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
Firewall
Caution
Standardmäßig werden Droplets OHNE FIREWALL erstellt (nicht wie in anderen Clouds wie AWS oder GCP). Wenn Sie also möchten, dass DO die Ports des Droplets (VM) schützt, müssen Sie es erstellen und anhängen.
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}}