Hi,

I'm having the worst time with Shorewall. I'm a complete noob to it. I've
read all of the documentation regarding Shorewall and two-interfaces, and
I've loaded the example files from '/usr/src/doc/shorewall/examples' and I
didn't change a thing. I still don't understand what I'm doing wrong. I'm
trying to get the internet from 'eth0' which is connected to my ISP, to
'eth1' my Local Network.  I'm running Debian 6.0 and I have Shorewall
4.4.11.6 installed.

Here's my output from '/etc/network/interfaces':

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo eth0 eth1
iface lo inet loopback

#allow eth0 to receive a dhcp internet connection
iface eth0 inet dhcp

#setup eth1 as a router
iface eth1 inet static
     address 192.168.0.2
     network 192.168.0.1
     netmask 255.255.255.0

I defined a gateway here, and an address range. I have DNS-MASQ installed
and running which hands out IP addresses on 192.168.0.50/30. It's probably a
little ridiculous or redundant. I have no  clue if it really works. It says
it can't bind to eth1 because eth1 is already in use. However, a laptop
connected to eth1 displays 192.168.0.76 for an IP address and the gateway
192.168.0.2. So, I know that works. I can partially ping 'www.google.com'.
It'll resolve 'www.google.com' to the correct IP address and domain name,
but the packets keep timing out 100%. I can get the internet thru my devices
connected to 'eth1' if I use ProxyARP, but it disables all of my outgoing
traffic on 'eth0'. All I'm trying to do is gateway my computer with two
ethernet NIC's and I'm failing miserably at it and I've been banging my head
against a wall for the past week trying to figure it out. Is there anyone
who might be able to point me to a simple command or something that would
get this all working? I'd really really really appreciate it.

Sincerely,
Dave
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to