LinuxQuestions.org
Help answer threads with 0 replies.
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 08-26-2006, 11:36 AM   #1
achtung_linux
Member
 
Registered: May 2006
Posts: 50

Rep: Reputation: 15
Default installation of firewall in Linux-how to check for one


Hi,
I was wondering if any Linux installation comes with firewall that installs by default. If not, how to check if one exists on local Linux machine?
I have a simple network made of a box under CentOS 4.2 and another under WinXP Home, and am unable to get a simple VoIP softphone to register with a server on my CentOS box (also CentOS is invisible in My Network Neighbourhood on WinXP box, but samba succesfully downloads from WinXP). I suspect firewall stands in the way, but I don't know how to check for one on Linux...
 
Old 08-26-2006, 07:26 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by achtung_linux
Hi,
I was wondering if any Linux installation comes with firewall that installs by default. If not, how to check if one exists on local Linux machine?
I have a simple network made of a box under CentOS 4.2 and another under WinXP Home, and am unable to get a simple VoIP softphone to register with a server on my CentOS box (also CentOS is invisible in My Network Neighbourhood on WinXP box, but samba succesfully downloads from WinXP). I suspect firewall stands in the way, but I don't know how to check for one on Linux...
almost all linux distros come with a firewall... the firewall is called netfilter (it's part of the kernel), and the tool to configure it is called iptables...

http://www.netfilter.org/

having said that, i should point out that many distros leave the iptables default configuration after an install (which happens to be the equivalent of having the firewall disabled)... those distros expect one to configure it according to one's needs post-install... an example of distros that do this could be Ubuntu and Slackware...

you can check your firewall's configuration by executing this command (as root):
Code:
iptables -L -n -v
post the output of the command if you want help interpreting it...

Last edited by win32sux; 08-26-2006 at 07:30 PM.
 
  


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
some problem about the default firewall in the linux ztdep Linux - Security 1 01-04-2006 11:22 AM
Firewall Check Johnsernickle Linux - Networking 1 07-18-2004 09:30 PM
how to check the rpm default configure path eksxjeff Linux - Software 2 11-18-2003 02:32 PM
Linux halts at partition check before installation starts. KiLLaWaBBiT Linux - Hardware 13 08-20-2003 12:26 PM

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

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