[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Need help configuring box as router



I have a fresh copy of the woody dist installed on a box with kernel
2.2.19, eth0 is 192.168 and eth1 goes to cable co.

I followed the kernel config of
http://www.grennan.com/Firewall-HOWTO-6.html

/sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.0     192.168.1.2     255.255.255.0   UG    0      0        0
eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
eth0
65.96.176.0     0.0.0.0         255.255.240.0   U     0      0        0
eth1
0.0.0.0         65.96.176.1     0.0.0.0         UG    0      0        0
eth1
0.0.0.0         192.168.1.2     0.0.0.0         UG    0      0        0
eth0
debian:~>


Any other host on the LAN can ping the 65.96 local address of the second
card on the box, but cannot get beyond.   All other hosts have the box's
IP address as the gateway.  I currently have a Linksys BEFSR81 broadband
gateway/router which works beautifully for all hosts.

Since the linux box and the Linksys cannot have the same IP for routing,
the LAN address of the Linux box is an IP higher.   I then use another
working box, change the gateway to the Linux's box, and try the network
test that way (ping, traceroute, nslookup) an outside address.

My goal is to get rid of the Linksys and use the Linux box since I want to
opposite affect of the Linksys - let all ports be open except for what I
wish to block.  Linksys support confirms their box blocks all and only
lets in what I opt to forward.

Thanks for any help/advice for my getting routing working.

Scott



Reply to: