LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 07: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 07:47 AM.
 
Old 04-04-2009, 11:46 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
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



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 08:12 AM
IP Forwading in iptables (different network) janhouse00 Linux - Networking 1 01-01-2006 06:34 AM
Iptables-- internal network HopelessLinuxNewbie Linux - Security 3 07-27-2005 08:49 PM
iptables - network mask Metroid Linux - Security 4 11-09-2004 10:17 PM
network errors maybe by iptables ethernet Linux - Networking 0 02-17-2004 04:34 PM

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

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