On 5/10/05, Kresimir Petric (WeOnlyDo Software) <kreso3 at weonlydo dot com> wrote:
> Hi All.
> I'm unable to setup m0n0wall to route my packets on 2 LANs. I have WRAP
> device with 3 network cards. One is used for WAN (ADSL PPPOE), one is my LAN
> 192.168.192.xxx and last is OPT1 192.168.0.xxx.
> Whatever I tried, I cannot setup correct routing so that all packets for
> 192.168.0.xxx are sent through OPT1 interface - and if possible, masquerated
> to some IP address from 192.168.0.xxx segment. I tried defining static
> route, NAT (1:1, outbound), firewall rules, everything, but I just can't get
> routing right.
No need to NAT, just route. Take out any NAT stuff you put in, take
out any static routes you put in, and put firewall rules on both the
interfaces (LAN and OPT) allowing any to any. That should work. Then
you can tighten down the rules if you so desire.