News: This forum is now permanently frozen.
Pages: [1]
Topic: Multi-WAN to Multi-LAN howto?  (Read 2796 times)
« on: December 20, 2008, 07:26:58 »
jaubine *
Posts: 4

Ok.. here goes...

I've got a /29 block of public IP's that I would like to route via NAT to separate, private VLAN networks. I have this currently running on an old Cisco 2611 router, but I'd like to replace it with a M0n0 setup to add VPN. captive portal, and rate shaping functionality to the overall configuration. I dont have any servers per-se on the LAN networks (yet); I just need each private LAN network to act/function as if it's got it's own separate NAT route to a specific public IP.

Is this possible with M0n0? I sadly attempted the multi-WAN howto using pfSense, and failed miserably.. perhaps the documentation is either too terse, or I'm just not getting it?

Here's a basic diag of what I'm looking to do:
(http://www.yodiggity.com/multi-WAN_to_multi_LAN.JPG)


* multi-WAN_to_multi_LAN.JPG (23.09 KB, 754x193 - viewed 258 times.)
« Reply #1 on: December 20, 2008, 16:36:59 »
Fred Grayson *****
Posts: 994

You don't have a multi-WAN situation.

Have you looked thru the m0n0wall handbook yet? http://doc.m0n0.ch/handbook-single/

You probably want 1:1 NAT and maybe also proxy ARP.

--
Google is your friend and Bob's your uncle.
« Reply #2 on: December 22, 2008, 00:21:30 »
jaubine *
Posts: 4

fredg,

I did read the handbook, however it describes 1:1 NAT as single public to single private IP translation (e.g. xxx.xxx.212.22 <-> 10.0.10.1/32); What I'm looking for is to NAT each public ip address provided to its own separate subnet, e.g.  xxx.xxx.212.22 <-> 10.0.10.0/24, xxx.xxx.212.23 <-> 10.0.20.0/24, etc..
« Reply #3 on: December 30, 2008, 21:09:54 »
jaubine *
Posts: 4

bump.
« Reply #4 on: December 31, 2008, 17:20:05 »
Fred Grayson *****
Posts: 994

I'm surprised you haven't gotten more attention here.

I wonder what might be possible if you put six NICs in the box, one for the WAN, and one for each of the five private networks you want - assuming you have or can find a machine with six PCI slots.

--
Google is your friend and Bob's your uncle.
« Reply #5 on: January 04, 2009, 14:15:55 »
jaubine *
Posts: 4

I was hoping to do this on a Soekris box and use 802.1q VLAN to trunk the data to a switch and then disperse....

Still hoping someone out there can help!!
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines