Solved

Opening a port is not showing up on the port scan

Posted on 2008-06-16
4
507 Views
Last Modified: 2013-11-11
here are the steps of the process that I'm am doing:

1. open terminal
2. type in the command : sudo ipfw add allow tcp from any 500 to any 500
3. use the network utility to scan the ports

unfortunately the port does not show up in the port scan

what am I doing wrong/missing?

I'm very new to this OS.
0
Comment
Question by:GarrettChristopherson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Assisted Solution

by:kanlue
kanlue earned 175 total points
ID: 21810335
did you try to use following command to check the list of open-port/rules?
sudo ipfw list


and about mac os x firewall settings, heres a few tips:
-----------------------
open terminal;

to add a port:
sudo ipfw add allow [udp or tcp] from [port] to [port]
So, if you want allow port 25 with tcp youd type sudo ipfw add allow tcp from 25 to 25

to see your rules:
sudo ipfw list

to delete an open port:
first type sudo ipfw list, youll get something like this

65535 allow ip from any to any

take the number proceeding the rule you want to delete and type sudo ipfw deletem [rule number].
-------------

hope it helps.
0
 
LVL 24

Accepted Solution

by:
slyong earned 325 total points
ID: 21810904
Hi Garett,
Allowing port in ipfw doesn't mean that any process/program/server is listening on that port.  So netscan will not show anything if you don't have a program which listen on port 500.  As kanlue replied, you can check what are the ports opened using "sudo ipfw list"
0
 
LVL 7

Expert Comment

by:kanlue
ID: 21815704
Good point, slyong.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
macos sierra "Destination Net Unreachable" 7 85
Mac users not seeing updated files on web site 3 47
Favorites from Mac Safari to Chrome? 4 54
Apps for MACPRO 6 23
Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question