OPNsense Forum

English Forums => General Discussion => Topic started by: DavyBlorBlop on August 14, 2022, 12:30:52 AM

Title: how does opnsense block my port scans
Post by: DavyBlorBlop on August 14, 2022, 12:30:52 AM
So i have opnsense setup, and a plex media server too. Recently I have enabled my plex server to stream remotely rather then just my local home network. IE if I am outside the home, I can still stream my plex media libraries.

With that enabled I thought why don't I do a nmap scan on my public IP and see if I can see the plex port being used 32400. I can not. Even while the stream the going on.

I also have plans to setup the same for my vscode remote dev too.

Here is my testing setup:
1. leave home, go to local coffee shop and use their wifi.
2. ubuntu 20 laptop with nmap
3. connect to my plex via the publicIP:32400. able to stream.
4. nmap my public IP, and nmap reports all ports are down and host is not up. which is freaking awesome.


But i really thought 32400 would be at least up.

these are my cmds that I have tried:

sudo nmap -sP 32400 publicIP/32
sudo nmap -sV -version-intensity 9 publicIP/32
sudo nmap -sPn publicIP/32
Title: Re: how does opnsense block my port scans
Post by: axsdenied on August 16, 2022, 05:34:30 AM
It doesn't unless you have a WAN firewall rule blocking the IP the scan is coming from.  If you don't have a port forwarded it won't show.

Another option is that Plex has poked a hole for you via in between servers.