LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-20-2007, 03:18 AM   #1
freddy_rixcom
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Firewall Linux configuration


HI all,
I'm triyng to building a Linux based firewall-proxy (Debian with 2.6 kernel). To do this i'm using a Dell Poweredge 2950 with 4 NIC interfaces. At the moment i'm using just two nics and i'm using a webmin interface so i can manipulate many features at one moment.
Now, my network is a LAN 192.168.64.x with a windows 2003 domain working correctly with DCHP and DNS.
In the Linux Server i've done this route Table:
Destination Gateway GenMask iface
127.0.0.0 * 255.0.0.0 lo
192.168.64.0 * 255.255.255.0 eth1
192.168.1.0 * 255.255.255.0 eth0
default 192.168.1.1 0.0.0.0 eth0

192.168.1.1 is the ip address of my router and it is the gateway for eth0
eth1 in my firewall is 192.168.64.1 and this is the IP address for gateway in my clients
eth0 is 192.168.1.254 and it is directly connected with my router trough an embedded switch Dlink DSL-G604T
If i ping 192.168.1.254 from a client it's well
if i ping 192.168.1.1 from a client nothing
if i ping 192.168.64.1 from router it's well
if i ping 192.168.64.101 (a client) from router nothing
So: must i configure other routes or must i configure port forwarding in my IPTABLES firewall?
Any Help will be appreciated.
Thanks in advance!
 
Old 11-20-2007, 11:57 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Did you enable ip forwarding? (For example, with net.ipv4.ip_forward = 1 in /etc/sysctl.conf)
 
Old 11-21-2007, 02:36 AM   #3
freddy_rixcom
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Yes, i've done now and it's work perfectly.
thanks a lot.
 
  


Reply



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
Firewall configuration pedrog Linux - Security 4 02-03-2005 06:04 AM
firewall configuration rakesh_em Slackware 9 10-13-2004 07:58 PM
Need Help In Building a Web-based Firewall Configuration Tool for Linux(RH9-iptables) eason Linux - General 1 02-21-2004 05:34 PM
GUI Tools for Linux Firewall Configuration pradsy90 Linux - Security 3 02-12-2004 08:28 PM
CISCI VPN 5000 and SuSE Linux 8.2 Firewall Configuration tt13617 Linux - Security 2 10-05-2003 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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