# All ports are filtred

**URL:** https://legacy-community.ine.com/t/all-ports-are-filtred/751
**Category:** Penetration Testing Professional
**Tags:** red
**Created:** [July 8, 2021, 10:35pm UTC](https://legacy-community.ine.com/t/all-ports-are-filtred/751 "2021-07-08T22:35:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![isectech-6ae9072297b](https://sea1.discourse-cdn.com/flex015/user_avatar/legacy-community.ine.com/isectech-6ae9072297b/32/204_2.png) [@isectech-6ae9072297b](https://legacy-community.ine.com/u/isectech-6ae9072297b)
#### Post date: [July 8, 2021, 10:35pm UTC](https://legacy-community.ine.com/t/all-ports-are-filtred/751/1 "2021-07-08T22:35:22Z")

</div>

Hello family  
I’m stuck on mu enumeration all ports are filtered I can’t move on, please does anyone has the hint, how I can move forward instead of stacking with nmap?  
hanks

---

<div class="post-metadata">

### Author: ![jaa](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jaa](https://legacy-community.ine.com/u/jaa)
#### Post date: [July 9, 2021, 4:50am UTC](https://legacy-community.ine.com/t/all-ports-are-filtred/751/2 "2021-07-09T04:50:16Z")

</div>

Ensure the connectivity is there and the target is reachable. Also the ICMP might be blocked. Try to Perform the Nmap scan using the `-Pn` switch. This will disable the ICMP scan.  
eg: `nmap -Pn -sS 1.2.3.4`

---

<div class="post-metadata">

### Author: ![walsh.john-cbcba15b1](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@walsh.john-cbcba15b1](https://legacy-community.ine.com/u/walsh.john-cbcba15b1)
#### Post date: [July 10, 2021, 8:20pm UTC](https://legacy-community.ine.com/t/all-ports-are-filtred/751/3 "2021-07-10T20:20:42Z")

</div>

If you are not already then try running nmap with elevated privileges using sudo. I had a similar issue and it was not until I did this that the open ports were detected.

---

<div class="post-metadata">

### Author: ![jaa](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jaa](https://legacy-community.ine.com/u/jaa)
#### Post date: [July 11, 2021, 1:30am UTC](https://legacy-community.ine.com/t/all-ports-are-filtred/751/4 "2021-07-11T01:30:17Z")

</div>

rightly @walsh.john-cbcba15b1 pointed out, Other than the TCP connect scan, mostly all nmap scan requires root privileges.
