LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   View/close ports (https://www.linuxquestions.org/questions/linux-security-4/view-close-ports-292531/)

SlAiD 02-20-2005 04:23 AM

View/close ports
 
Hi.

I have iptables installed and i dont know how i see and/or close ports.

How i do this?

heema 02-20-2005 05:35 AM

you could use an easy to use firewall like guarddog

SlAiD 02-20-2005 06:15 AM

I have alredy installed the iptables.
And i have access as root on SSH only.

heema 02-20-2005 06:31 AM

example : to close port 22 tcp then type

ip6tables -A INPUT -p tcp --dport 22 -j DROP

here are some iptables tutorials

http://www.siliconvalleyccie.com/lin...bles-intro.htm
http://linuxreviews.org/features/ipv6/iptables/#toc5
http://www.linuxsecurity.com/resourc...-tutorial.html

SlAiD 02-20-2005 07:19 AM

Thanks.


All times are GMT -5. The time now is 05:06 PM.