?
Solved

Opening a port is not showing up on the port scan

Posted on 2008-06-16
4
Medium Priority
?
520 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 700 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 1300 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built ontop of the OSX Server NetBoot system and uses images & workflows as its core assets. Although …
While there are many new features for iOS 11, these are the five that can improve your digital lifestyle.
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 …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

650 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