Replies: 3 comments
-
|
I've improved my command line, for the small range of my Nebula network
|
Beta Was this translation helpful? Give feedback.
-
|
Your self-answer is already pretty good, but here's a cleaner approach and some additional context on naabu vs nmap for host discovery: Most Concise Commandsudo naabu -host 10.0.0.0/24 -sn -ping -silent | sort -t . -n -k 4This is essentially what you arrived at. For a sudo naabu -host 10.0.0.0/8 -sn -ping -silent -rate 1000Add Why sudo Is Requirednaabu uses raw sockets for ICMP probes ( sudo setcap cap_net_raw+ep $(which naabu)
# Then run without sudo:
naabu -host 10.0.0.0/24 -sn -ping -silentAlternative: ARP Discovery (Faster for Local Subnets)If you're on the same L2 segment: sudo naabu -host 10.0.0.0/24 -sn -arp -silentARP discovery is faster and more reliable than ICMP on local networks since hosts can't block ARP responses. For Your Nebula Network SpecificallySince Nebula is a mesh VPN using WireGuard-like tunneling, ICMP might get filtered depending on your Nebula firewall rules. If sudo naabu -host 10.0.0.0/24 -sn -ep 22,443 -silentThis sends TCP SYN probes to ports 22 and 443 for host discovery, which can punch through ICMP-filtered Nebula configs. |
Beta Was this translation helpful? Give feedback.
-
|
Your self-answer is already solid. Here are some refinements: Most Concise Commandsudo naabu -host 10.0.0.0/24 -sn -ping -silent | sort -t . -n -k 4For a /8 range, naabu handles CIDR expansion natively -- no need for the nmap + awk pre-processing: sudo naabu -host 10.0.0.0/8 -sn -ping -silent -rate 1000Add Why sudo Is Requirednaabu uses raw sockets for ICMP probes, which require sudo setcap cap_net_raw+ep $(which naabu)
naabu -host 10.0.0.0/24 -sn -ping -silentARP Discovery (Faster for Local Subnets)sudo naabu -host 10.0.0.0/24 -sn -arp -silentARP is faster and more reliable on local networks since hosts cannot block ARP responses. For Nebula VPN SpecificallySince Nebula uses tunneled WireGuard-like networking, ICMP may get filtered. Try TCP probes: sudo naabu -host 10.0.0.0/24 -sn -ep 22,443 -silentThis sends SYN probes to common ports for discovery, which works through ICMP-filtered Nebula configs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to recreate the nmap command line of:
nmap -sn 10.0.0.0/8The best I've come up with using naabu is:-
Which gives the right answer for my Nebula Private VPN Network, of:-
Can someone post a more succinct command line
Beta Was this translation helpful? Give feedback.
All reactions