• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 325
  • Last Modified:

port blocking

How to block a particular (software) port and how to see what ports are blocked?  I am using Redhat 6.2 Linux.
0
narayanamoorthy
Asked:
narayanamoorthy
1 Solution
 
jlevieCommented:
ipchains comes readily to mind if you want to selectively block access to a given port. If you don't use the port and don't want anyone else to you can simply prevent the port from being accessed by disabling server for the port and/or preventing it from being started by inetd (check inetd.conf).
0
 
harwantgrewalCommented:
You can see various services using the command ps -A and see that certain demeons are running the good way to block or stop that service use the inetd.conf file mostly places in /etc/inetd.conf and put a # in front on the line which you dont whant to use.


Harry
0
 
jonnyblazeCommented:
'ps -aux' will give you a more detailed ideal of what is actually running on your system
0
 
fauzdarCommented:
the best way to know what ports are blocked is to see what ports are open. for checking the open ports on you machine use nmap. its a easy utility to use. it tells you what all ports are open.
0
 
vreddypatilCommented:
Linux# ipchains -L -n

use linuxconf's firewall to block ports.

--Vijayapal
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now