[ previous ] [ next ] [ threads ]
 From:  "Kresimir Petric (WeOnlyDo Software)" <kreso3 at weonlydo dot com>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  2 LANs + 1 WAN routing? Please help.
 Date:  Wed, 11 May 2005 03:41:06 +0200
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.

I never managed to get both routes working correctly. Either WAN was 
working, or OPT1 (192.168.0.xxx) was working.. Never both.

Can anyone shed some light on how to set it up so I can transparently access 
192.168.0.xxx from my LAN 192.168.192.xxx? I have fair knowledge about 
firewalls and routing, but I cannot find proper way to set this up over web