mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2025-12-26 04:41:55 -08:00
1.4 KiB
1.4 KiB
DO - Networking
{{#include ../../../banners/hacktricks-training.md}}
डोमेन
doctl compute domain list
doctl compute domain records list <domain>
# You can also create records
आरक्षित IPs
doctl compute reserved-ip list
doctl compute reserved-ip-action unassign <ip>
लोड बैलेंसर
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
डिफ़ॉल्ट रूप से ड्रॉपलेट बिना फ़ायरवॉल के बनाए जाते हैं (AWS या GCP जैसे अन्य क्लाउड की तरह नहीं)। इसलिए यदि आप DO को ड्रॉपलेट (VM) के पोर्ट्स की सुरक्षा करना चाहते हैं, तो आपको इसे बनाना और संलग्न करना होगा।
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}}