LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Closing a port in linux terminal..any command?? (https://www.linuxquestions.org/questions/linux-security-4/closing-a-port-in-linux-terminal-any-command-207279/)

fhameed 07-20-2004 01:23 AM

Closing a port in linux terminal..any command??
 
Hello Everybody

Here is the problem

I use netstat -a to check port status on my linux box.

My question

Is their any command by which i can close a port...simple n fast.

Or ipchains or iptables is the only option to do that.

Thanks

Fahad

foo_bar_foo 07-20-2004 11:46 PM

you can stop the process that has created the net socket


All times are GMT -5. The time now is 09:14 AM.