LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-23-2004, 10:11 AM   #1
hudy
LQ Newbie
 
Registered: Aug 2003
Location: London
Posts: 11

Rep: Reputation: 0
How to close ports


How can I close port under mandrake 9.1. Which file has to be edited?

Last edited by hudy; 06-23-2004 at 10:17 AM.
 
Old 06-23-2004, 10:34 AM   #2
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
In Mandrake control center under security there is a firewall option that allows for you to block ports
 
Old 06-23-2004, 11:15 AM   #3
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 32
if you have iptables already setup just type:
Code:
iptables -A INPUT -p tcp -dport <port#> -j DROP
 
Old 06-23-2004, 11:57 AM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
//Moderator note: Please try and make your thread titles as relevent as possible. Thanks.
 
Old 06-23-2004, 03:12 PM   #5
hudy
LQ Newbie
 
Registered: Aug 2003
Location: London
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you very much - guys it helped
 
  


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



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

All times are GMT -5. The time now is 01:44 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