[ previous ] [ next ] [ threads ]
 From:  Chris Buechler <cbuechler at gmail dot com>
 To:  marijan <mjakara at xnet dot hr>
 Cc:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall-dev] static route
 Date:  Tue, 8 Mar 2005 15:20:03 -0500
On Tue, 8 Mar 2005 02:31:22 +0100, marijan <mjakara at xnet dot hr> wrote:
> I have two monowall routers instaled, first one router use WAN port for
> Internet access and second one uses only LAN interfaces (one LAN and one
> OPT).
> I want users on second monowall be able to access internet on first
> monowall but I don't know how to setup default gateway over LAN
> interface. I try set default route in 'static routes', but I
> can only assign /1 to /32 for network mask but not /0.
> Is there some way to setup default gateway over LAN interface?

You'll have to use the "WAN" interface on your LAN and set its default
gateway appropriately.  If you add a permit any to any rule on the WAN
it should work fine.