LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 04-04-2009, 08:43 AM   #1
aamdevan
LQ Newbie
 
Registered: Apr 2009
Location: Chennai
Posts: 7

Rep: Reputation: 0
Cool Iptables for my network


hi i am new in linux..i have to configure a firewall server for my office.we r using RHEL5.0,we have public ip for web server and mail server..thats ip also use to connect client system for internet access

Pl see my network arch

--------------------
firewall server |
ext network |
eth1:61.247.253.235|
--------------------
int network |
eth0:192.168.1.1 |
--------------------
|
Internet-->firewall server--->web server 192.168.1.2(website)|--->Clients for access internet(192.168.1.X)

Here my requirement,
1.Web and mail server should be published
2.client can access internet
3.all ports should be closed,when ping in firewall server from outside network.
4.all ports should be closed,when ping in firewall server from inside of network(internet access client) except what i mention particular ip,


now,what should i do?..please help me any body step by step

thanks
aamdevan (aamdevan@gmail.com

Last edited by aamdevan; 04-04-2009 at 08:47 AM.
 
Old 04-04-2009, 12:46 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,938

Rep: Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670Reputation: 2670
Quote:
Originally Posted by aamdevan View Post
hi i am new in linux..i have to configure a firewall server for my office.we r using RHEL5.0,we have public ip for web server and mail server..thats ip also use to connect client system for internet access

Pl see my network arch
See this tutorial on iptables
http://iptables-tutorial.frozentux.n...-tutorial.html

It should help you better understand how it works, and how to configure rules to do what you want. If you have specific problems, please post them back, and we can help you. I doubt anyone is going to write your firewall rules for you, and if they did....*I* certainly wouldn't use them, unless I understood them....

FYI, you DO realize that you just published your network IP addresses out onto the Internet, for anyone to see???
 
  


Reply

Tags
firewall, iptables


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
iptables: how to take a whole network in account? xpucto Linux - Security 2 03-15-2007 09:12 AM
IP Forwading in iptables (different network) janhouse00 Linux - Networking 1 01-01-2006 07:34 AM
Iptables-- internal network HopelessLinuxNewbie Linux - Security 3 07-27-2005 09:49 PM
iptables - network mask Metroid Linux - Security 4 11-09-2004 11:17 PM
network errors maybe by iptables ethernet Linux - Networking 0 02-17-2004 05:34 PM


All times are GMT -5. The time now is 02:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration