Solved

Opening a port is not showing up on the port scan

Posted on 2008-06-16
4
490 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
  • 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Firefox freezing mac 10 84
Outlook address book and Facetime sync 5 69
Office365 / office 2016  for MAC 4 41
time machine 8 40
SUMMARY Enterprise backup in a heterogeneous network is a subject full of complications and restrictions. Issues such as filename & path structure, attributes and extended metadata always tend to complicate the subject to the extent where either …
The /etc/authorization file in Mac OS X 10.x can be used to control access to the various panes of the System Preferences amongst other things. It’s used by some of us Mac Sys Admin’s to give Standard Users access to System Prefs panes that only adm…
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now