Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-25-2010, 02:43 AM   #1
Registered: Jan 2010
Posts: 125

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.

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

Rep: Reputation: 137Reputation: 137

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
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
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
Registered: Jan 2010
Posts: 125

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

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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration