Date: Wed, 11 Aug 2010 10:50:29 +0800 From: Fbsd8 <fbsd8@a1poweruser.com> To: "Randal L. Schwartz" <merlyn@stonehenge.com> Cc: freebsd-questions@freebsd.org Subject: Re: How to connect a jail to the web ? Message-ID: <4C620FF5.1020900@a1poweruser.com> In-Reply-To: <86fwylzyqd.fsf@red.stonehenge.com> References: <268321.67123.qm@web24608.mail.ird.yahoo.com> <4C61E8B1.7050605@a1poweruser.com> <86mxsuynm0.fsf@red.stonehenge.com> <4C620356.6070402@a1poweruser.com> <86fwylzyqd.fsf@red.stonehenge.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Randal L. Schwartz wrote: >>>>>> "Fbsd8" == Fbsd8 <fbsd8@a1poweruser.com> writes: > > Fbsd8> ifconfig alias > > Fbsd8> man 8 ifconfig > > Yup, and using that, I can give a private 10.x address to my jail. > > How do I get it to face the public without a firewall rule? > No. Your jail is assigned it's ip address when you create it. The alias gives the jail network access when you start the jail. Both ip address must match. Just assign the jail your public ip address when you create it. "face the public" is a very large subject, which the answer depends on your hardware configuration, registered domain names and static ip addresses. Using jails requires the host system administrator to be well trained in networks and how public and private networks function. Jail documentation is not going to teach you this.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C620FF5.1020900>