Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2007 11:28:20 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Juan Sosa <sosa@dambala.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Make a jail visible in different networks
Message-ID:  <6AE855F0-4114-4447-B621-387468BEB366@mac.com>
In-Reply-To: <46489CC7.9010704@dambala.net>
References:  <46489CC7.9010704@dambala.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi--

On May 14, 2007, at 10:30 AM, Juan Sosa wrote:
> I have a freebsd server (192.168.1.5) running a NATed jail =20
> (192.168.1.10).
>
> I set up mpd4 on this server in order to allow M$ clients access =20
> our 10.5.1.0/24 vpn. Since jails can=B4t have more than one ip =20
> address, is there a way to make 192.168.1.10 visible to the =20
> 10.5.1.0/24 network without changing the jail ip address?
>
> Summarizing, I need to have my jail serving in both LAN and VPN =20
> networks. Any suggestions?

There are a number of approaches: the simplest involve either adding =20
static routes between your 10.5.1/24 subnet and your 192.168.1/24 =20
subnet, or setting up additional VPN endpoint on the 192.168.1/24 =20
network, or using NAT to map the jail IP onto the 10.5.1/24 netblock.

Without knowing your topology, it's hard to make more specific =20
recommendations.

--=20
-Chuck

PS: Also, no need to ask the same question twice....




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6AE855F0-4114-4447-B621-387468BEB366>