Roberto C. Sanchez wrote:
[EMAIL PROTECTED] wrote:
Hi all I have dth fallowing problem.. I have a router with public ip
(for example 194.10.8.1/30) and my Debian whit eth1 public ip
194.10.8.2/30. Everything works fine I can ping outside no problem.. but
my Debian also fas eth0 interface with ip 192.168.1.1 and it is the
gateway of my LAN. The problem is that packets from my lan stops at
194.10.8.2. It seems to be Debian cannot routes packets ??

etc/network/interfaces..
iface eth0 inet static
address 192.168.1.1
255.255.255.0
gateway 194.10.8.2

iface eth1 inet static
address 194.10.8.2
255.255.255.252 gateway 194.10.8.1

I also added..

route add -net 0.0.0.0 netmask 0.0.0.0 gw 194.10.8.1 dev eth1

..but no way to make my Debian works as router/gateway for computers
iiside my lan

Giuseppe


Please investigate the shorewall package.  Their documentation at
www.shorewall.net provides a great deal of information on how to setup a
firewall/gateway/router in a number of different combinations.

-Roberto


Roberto, I finally found great nfs documentation at the shorewall site. Very complete. You shorewall evangilization finally paid off! Thanks!

H






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to