This is no right way. I found simple solutions so I edit
'system_routes_edit.php' and change in line 133 value 'i' from 1 to 0 in
'for' loop.
<?php for ($i = 32; $i >= 0; $i--): ?>
And upload this file back to /usr/local/www/ dir.
Now it works like it should be.
-----Original Message-----
From: Chris Buechler [mailto:cbuechler at gmail dot com]
Sent: Tuesday, March 08, 2005 9:20 PM
To: marijan
Cc: m0n0wall dash dev at lists dot m0n0 dot ch
Subject: Re: [m0n0wall-dev] static route
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 0.0.0.0/0 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.
-Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: m0n0wall dash dev dash unsubscribe at lists dot m0n0 dot ch
For additional commands, e-mail: m0n0wall dash dev dash help at lists dot m0n0 dot ch |