LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-05-2010, 02:26 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
How keep safe PC using iptables and/or other means?


Hi,
I am using Fedora on my desktop pc. I want to know how can i protact my PC from outside world. What firewall policy should i implement in iptables to keep it more secure.
thanks
mypass
 
Old 12-05-2010, 03:39 AM   #2
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Rep: Reputation: 56
Fedora has a built in firewall application that's just called "Firewall". If you're using Gnome you can click on System->Administration->Firewall. Basically you want to enable the firewall, and not have any open incoming ports. You can then begin to open ports as they are necessary, and make notes somewhere about the ports you open and why you opened them. I don't remember if the Fedora firewall application has an option for putting notes on specific rules, but if it doesn't just make a text file somewhere to remind you about why you opened certain ports. To test your current firewall settings you can use Zenmap on a 2nd computer on the same network to scan your desktop PC and it will reveal any open ports you have. I recommend doing this occasionally anyway, even after you set up your firewall, to make sure you don't have any open ports that don't need to be open any more, and to make sure that nothing has made any modifications to your firewall settings without your knowledge.
 
Old 12-05-2010, 04:37 AM   #3
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
thanks for your reply. well as you mention to use Zenmap which is a GUI utility,Just for my knowledge is any version of Zenmap or any other utility which i can use in terminal.
I some time use my desktop pc on runlevel 3 bcz in GUI my pc goes too much slow.
 
Old 12-05-2010, 04:46 AM   #4
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Rep: Reputation: 56
Quote:
Originally Posted by gardenair View Post
thanks for your reply. well as you mention to use Zenmap which is a GUI utility,Just for my knowledge is any version of Zenmap or any other utility which i can use in terminal.
I some time use my desktop pc on runlevel 3 bcz in GUI my pc goes too much slow.
Zenmap is just a GUI frontend for nmap, so you can just use nmap from the command line to get the exact same results that you would get from using zenmap. For usage just do nmap --help

Last edited by dudeman41465; 12-05-2010 at 04:47 AM.
 
Old 12-05-2010, 07:28 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by gardenair View Post
Hi,
I am using Fedora on my desktop pc. I want to know how can i protact my PC from outside world. What firewall policy should i implement in iptables to keep it more secure.
thanks
mypass

You should also realize that there is a lot more to security than just a firewall. You can shut down unused services, make sure your machine is regularly updated and patched, maybe even install a file monitor like Aide or Samhain.

Please visit the Security forum and have a look at the stickied thread on ways to secure your machine.
 
1 members found this post helpful.
Old 12-05-2010, 04:00 PM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
Moved: This thread is more suitable in "Linux - Security" and has been moved accordingly to help your thread/question get the exposure it deserves.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What means [0:0] in iptables.up.rules ? mr.unknown91 Linux - Networking 2 03-15-2010 10:47 AM
Is it safe to install iptables in /usr/local ? RavenOfOdin Linux - Software 2 05-24-2006 02:41 PM
just want to be sure my Iptables script is safe enought Half_Elf Linux - Security 3 08-02-2003 03:34 PM
UH... iptables, anyone know what this means... ifm Linux - Newbie 1 06-10-2002 04:46 PM

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

All times are GMT -5. The time now is 06:04 AM.

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