[ previous ] [ next ] [ threads ]
 
 From:  "RoboK" <mono at centrum dot sk>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Static route to MONOWALL with NAT.
 Date:  Wed, 09 Feb 2005 10:47:19 +0100
Bellow is situation when two wireless hops are routed to the MONOWALL, which provide NAT through
another router with NAT /this second router is connected to internet with public IP/.
 If i connected as client to ap2 on wpci2, i will be able ping all interfaces include LAN of
Monowall. If I have as GW WPCI2 on ap2 and IP of DNS is IP LAN of mono and i try ping for example
ping www.xyz.com" i get only translation to IP address but any packet response and any web page is
displayed.

What can i set up on monowall  to achieve internet connection?

Thanx.
RoboK.


AP1 is wireless associated with AP2 throught wpci2 in both of them..
AP1 is connected to MONOWALL throught ether1 in both of them using a cross-over cable.

subnet is  /24

Internet 
     |
203.45.xx.xx  wan
router01
NAT
10.10.10.1   LAN
      |
10.10.10.2 WAN
MONowall
NAT
192.168.1.1  LAN
     |
AP1 ether1 192.168.1.2
AP1 wpci1   192.168.5.1
     |
AP2 wpci1 192.168.5.2
AP2 wpci2 192.168.6.1

Bellow is description of above -

MONOWALL WAN: public IP

Default NAT is working.

MONOWALL  LAN : 192.168.1.1

AP1: ether1 = 192.168.1.2
wpci2 = 192.168.5.1/24


AP2: wpci1 = 192.168.5.2/24
wpci2= 192.168.6.1/24


Static routes on MONOWALL are:
192.168.5.0/24  192.168.1.2/24
192.168.6.0/24  192.168.1.2/24


Static an default routes on APs are:

AP1: 0.0.0.0/0 192.168.1.1/24 ether1
192.168.6.0/24 - 192.168.5.2/24

AP2: 0.0.0.0/0 - 192.168.5.1/24wpci2