Files
hacktricks-cloud/src/pentesting-cloud/digital-ocean-pentesting/do-services/do-networking.md

36 lines
1.4 KiB
Markdown

# DO - Networking
{{#include ../../../banners/hacktricks-training.md}}
### डोमेन
```bash
doctl compute domain list
doctl compute domain records list <domain>
# You can also create records
```
### आरक्षित IPs
```bash
doctl compute reserved-ip list
doctl compute reserved-ip-action unassign <ip>
```
### लोड बैलेंसर
```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
```
### Firewall
> [!CAUTION]
> डिफ़ॉल्ट रूप से **ड्रॉपलेट बिना फ़ायरवॉल के बनाए जाते हैं** (AWS या GCP जैसे अन्य क्लाउड की तरह नहीं)। इसलिए यदि आप DO को ड्रॉपलेट (VM) के पोर्ट्स की सुरक्षा करना चाहते हैं, तो आपको **इसे बनाना और संलग्न करना** होगा।
```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}}