[ previous ] [ next ] [ threads ]
 
 From:  sai <sonicsai at gmail dot com>
 To:  InTheMood <inthemood at gmx dot net>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] general configuration question (hardware, 2 public ip's)
 Date:  Sat, 24 Dec 2005 11:19:12 +0500
On 12/23/05, InTheMood <inthemood at gmx dot net> wrote:
> hello,
> following scenario:
>
> there are two public ip adresses. both should be targeted to the
> monowall pc.
>
> both adresses should be able to establish a vpn session. packages to
> adress A must be
> forwared as following:
>
> every incoming request on ip A and  port 80 -> forwarded to pc number 1,
> and every incoming request on ip A and  port 25 -> forwarded to pc number 2
>
> public ip adress A: things mentioned as above and openVPN connections
> public ip adress B: only openVPN connections
>
> the m0n0wall pc has two NIC's. but i think for this scenario i'll need 3
> NIC's.
> (2 WAN NIC's, 1 LAN NIC)
>
> right? or is there a way to do the job only with two?
>
> hope for some help
>
> cheers
>
> Daniel
>

You can only have 1 WAN nic with m0n0. I do not think you can have 2
ip addresses for the openVPN...I have not used openVPN but have used
pptp / ipsec in m0n0.

I would suggest using the WAN ip for VPN, and set up the other IP for
for a DMZ setup for your servers.

sai