Solved

Opening a port is not showing up on the port scan

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

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 …
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
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 …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

809 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