LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-13-2005, 11:21 PM   #1
BorgKiller
Member
 
Registered: Dec 2002
Location: Cyberspace, address block 212
Distribution: FreeBSD 6.1-RELEASE
Posts: 34

Rep: Reputation: 15
Listing Used Ports


Hello All,

I am currentally in the proccess of installing a firewall onto my server. The problem is, I dont know which ports are currentally in use. Is there anyway I can get a list of what ports are in use on my system?

In my network, we have a server (Linux Redhat 9) and a client (My fathers computer). I dont know what ports my fathers computer uses so i need ot find out what ports he is using.

Thanks for your help,
BorgKiller
 
Old 04-13-2005, 11:34 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
netstat -pantu will show you what ports are in use locally. You can use nmap to determine ports are open on a remote system, though ideally you'd want to check locally as firewalls can obscure results. If your father is using Windows, then checkout fport .
 
Old 04-13-2005, 11:44 PM   #3
BorgKiller
Member
 
Registered: Dec 2002
Location: Cyberspace, address block 212
Distribution: FreeBSD 6.1-RELEASE
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks, I will try that when i get home.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
using ps command without listing ps itself hardian_97 Linux - Newbie 3 08-29-2005 12:57 AM
Listing Commands Blackout_08 Fedora 2 03-07-2005 09:57 AM
listing users... spotass Linux - Newbie 1 06-12-2004 02:18 AM
Directory Listing mattbeekler Linux - Software 8 07-22-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration