LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2010, 02:43 AM   #1
zaeem
Member
 
Registered: Jan 2010
Posts: 118

Rep: Reputation: 15
IPTable configuration


Dear Friends,

I've install fresh copy of CentOS 5.4 now I want to setup firewall using IPTables. I can see that its service is running. Now I want to configure IPtables in a way so that from only trusted/Allowed IP addresses one can SSH the server. Furthermore how to block the ports and release few ports of my choice.

Can any please provide me with some simple article to achieve this as I am new to Linux world.

Any help will greatly be appreciated.

Regards,
Sherazi
 
Old 02-25-2010, 03:37 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hye,

if you don't have any knowledge on iptables, take a look at firestarter, an easy to use open source GUI for iptables.
Otherwise read the man page and the iptables/firewall howto to understand how it works.
 
Old 02-25-2010, 03:44 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
If man page is a bit too much for you then you can look for a howto Here.
 
Old 02-25-2010, 09:51 AM   #4
zaeem
Member
 
Registered: Jan 2010
Posts: 118

Original Poster
Rep: Reputation: 15
Dear linuxlover.chaitanya and mesiol,

Thanks a lot for your help. I really appreciate that.
 
  


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 is an iptable? & how to seperate the network on the basis of iptable vinod.wagh Linux - Networking 1 09-11-2008 02:28 AM
IPTable help tsaravan Linux - Networking 3 08-05-2008 05:05 AM
IPTABLE configuration shadowsurfer Linux - Newbie 3 03-25-2006 10:25 PM
iptable configuration with guarddog permanent regardless wm? jasone Linux - General 2 04-21-2005 06:28 AM
iptable help Neomaster Linux - Security 5 05-29-2003 10:13 PM


All times are GMT -5. The time now is 10:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration