Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  How to confirm whether ports are blocked on SRX300

    Posted 04-18-2024 00:52

    Hi all,

    I am new to Juniper. I have configured my SRX300 which can only access 80, 443, 21 and 22 ports.

    Would like to know that there are any approaches to confirm the other ports that are blocked?

    Much appreciative if there is someone who knows how to do it.



    ------------------------------
    Tokumasa Sanada
    ------------------------------


  • 2.  RE: How to confirm whether ports are blocked on SRX300

    Posted 30 days ago

    Hi,

    I'm not sure about any show commands for this. But without being Junos guru you can try differently:

    • Obviously, you have got internally more ports open on any servers for services, but if not then you open any random from the first 1000. 
    • get internet/network access from outside of your router with a test machine and run `nmap` for a full port scan against your router 

    $ nmap -p 1-65535 your_router_external_IP

    https://www.recordedfuture.com/threat-intelligence-101/tools-and-techniques/nmap-commands