Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2007 21:09:25 +0200
From:      Juan Sosa <>
Subject:   Re: Make a jail visible in different networks
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Chuck Swiger escribió:
> Hi--
> On May 14, 2007, at 10:30 AM, Juan Sosa wrote:
>> I have a freebsd server ( running a NATed jail 
>> (
>> I set up mpd4 on this server in order to allow M$ clients access our 
>> vpn. Since jails can´t have more than one ip address, is 
>> there a way to make visible to the network 
>> without changing the jail ip address?
>> Summarizing, I need to have my jail serving in both LAN and VPN 
>> networks. Any suggestions?
> There are a number of approaches: the simplest involve either adding 
> static routes between your 10.5.1/24 subnet and your 192.168.1/24 
> subnet, or setting up additional VPN endpoint on the 192.168.1/24 
> 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 
> recommendations.
So sorry for my duplicated message.

In my network, xl0 is linked to other remote server through 
tun0 with (routed)openvpn. As I said before, I'm also running mpd4 
listening on ng0, and a jail with samba services on xl0 alias.

Openvpn link is formed by ( and the remote server 
( The PPTP ng0 interface has

Maybe a ipfw ruleset on  could do the trick?

Want to link to this message? Use this URL: <>