LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-20-2005, 04:23 AM   #1
SlAiD
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Rep: Reputation: 0
View/close ports


Hi.

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

How i do this?
 
Old 02-20-2005, 05:35 AM   #2
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
you could use an easy to use firewall like guarddog
 
Old 02-20-2005, 06:15 AM   #3
SlAiD
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Original Poster
Rep: Reputation: 0
I have alredy installed the iptables.
And i have access as root on SSH only.
 
Old 02-20-2005, 06:31 AM   #4
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
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
 
Old 02-20-2005, 07:19 AM   #5
SlAiD
LQ Newbie
 
Registered: Feb 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks.
 
  


Reply



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
How to Close Ports janderson622 Linux - Security 21 01-04-2007 05:59 PM
Which of these ports can I close? buddhahat Linux - Security 6 06-13-2005 07:40 AM
close all my ports pixelV Slackware 18 12-30-2004 05:49 AM
How do I close ports ksgill Linux - Newbie 9 10-09-2003 09:06 PM
Ports, and how to close them? davee Linux - Networking 2 07-24-2003 08:10 AM

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

All times are GMT -5. The time now is 01:23 PM.

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