crash1624
asked on
Check open ports on firewall
Hello,
I need to check if ports are open in a SonicWall programmatically from a computer within that lan. I've though about some solutions like telnet and others but I need a consistent way to see if the ports are open and report back using the output from the shell.
Thanks in advance for any assistance.
I need to check if ports are open in a SonicWall programmatically from a computer within that lan. I've though about some solutions like telnet and others but I need a consistent way to see if the ports are open and report back using the output from the shell.
Thanks in advance for any assistance.
ASKER
I'm looking to check outbound ports. I don't want to have to log into the router/firewall to check this. I want to be able to start a script from a computer on their lan to see if they can get out on specific ports.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry I'll try to be more specific. I have a remote agent that I can run scripts against that are on the lan side of the firewall. I want to be able to run a script that will attempt to connect to an outside server (that I host) on specific ports to verify that those ports are not blocked by their firewall. This must be done programmatically as I will be performing this check on dozens of clients periodically.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Give nmap.org a try
Do you have admin access to the firewall? The easiest way would be to review the firewall rules or contact the admin at your site that has this access.