[Shorewall-users] connecting 2 local networks

Kenneth Oncinian
Thu, 11 Sep 2003 19:14:55 -0000

Hi,

Can I use shorewall to make 2 network "see" each other?
What I want to achive is to make 2 network connect to each other.
Here is what i have done so far:

Linux box (shorewall):
eth0 = 192.168.1.1/255.255.255.0
eth1 = 192.168.2.1/255.255.255.0

Networks:
network 192.168.1.0/24 gateway is 192.168.1.1
network 192.168.2.0/24 gateway is 192.168.2.1

I simply configured shorewall as:

zones:
lan    LAN    local are network
loc    LOC    other network

interface:
lan    eth0    detect
loc    eth1    detect

policy:
all all ACCEPT

routestopped:
eth0    192.168.1.0/24
eth1    192.168.2.0/24

but 2 networks cant ping each other. So its obvious im not doing this right
=).
What are the other things to configure?

Thanks and best regards,
Kenneth Oncinian