[Shorewall-users] connecting 2 local networks

Tom Eastep
Sun, 14 Sep 2003 18:37:04 -0000

On Fri, 12 Sep 2003, Kenneth Oncinian wrote:

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

For what you want to do, there is ABSOLUTELY NO REASON TO USE SHOREWALL.

-Tom
--
Tom Eastep    \ Shorewall - iptables made easy
Shoreline,     \ http://shorewall.net
Washington USA  \ teastep@shorewall.net