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!
|