News: This forum is now permanently frozen.
Pages: [1]
Topic: Outbound NAT  (Read 1904 times)
« on: February 02, 2010, 23:22:37 »
doug4 *
Posts: 1

I'm trying to setup NAT routers using m0n0wall in two locations.  My m0n01 settings are as follows for site1:

Server1 = 10.6.7.120
LAN Subnet = 10.6.6.0/23
WAN Subnet = 154.123.144.0/23  (the WAN IP connects to a Cisco router)

I added a 1:1 NAT for Server1 (10.6.7.120 -> 154.123.145.120).  This works as intended, that is I can reach the server from the WAN.

At site2 I have the following m0n02 settings:

Server2 = 10.6.15.80
LAN Subnet = 10.6.15.0/24
WAN Subnet = 154.123.146.0/24 (the WAN IP connects to a Cisco router)

I added a 1:1 NAT for it (10.6.15.80 -> 154.123.146.80).  This works as intended, that is I can reach the server from the WAN.

The Cisco routers at each site are connected to each other using MPLS.  I only have one port on the Cisco router that I can use at each site.

I want the two servers to be able to reach each other but I have not been able to configure m0n0wall to make this happen or don't know if it is even possible.  I tried adding a 1:1 NAT for server2 on m0n01 at site1 (10.6.15.80 -> 154.123.146.80), but wireshark on the WAN side of m0n01 shows that m0n01 does not translate 10.6.15.80 to 154.123.146.80, therefore 10.6.15.80 does not get routed to the other city by the Cisco router.  Is there a way to configure m0n0wall so that the two servers on separate LANs can communicate with each other? 
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines