How to steer public traffic to a jail

Steve O'Hara-Smith steve at sohara.org
Fri Aug 14 13:06:47 UTC 2020


On Fri, 14 Aug 2020 08:59:27 -0400
Ernie Luzar <luzar722 at gmail.com> wrote:

> Steve O'Hara-Smith wrote:
> > On Fri, 14 Aug 2020 08:08:09 -0400
> > Ernie Luzar <luzar722 at gmail.com> wrote:
> > 
> >> I have 4 registered domain names, one for each jail. How do I get
> >> [ALL] public traffic to a domain name directed to the desired jail?
> > 
> > 	Do you have four public IP addresses to go with them ? If not
> > what sort of "public traffic" are you talking about just http/s or other
> > protocols ?
> > 
> 
> [ALL] means everything.

	OK.

> Host and each jail have own website, email, ftp, ssh services plus what 
> ever the owner of the jail wants to install.

	For that the jail needs it's own public IP address.

> Tagging a port number on the end of the domain name is not a option.

	No, because you need each one to have ports 21, 22, 25 ... open
independently.

> Host that jails are on has just single public ipv4 address.

	In that case there's only one set of public ports. You *can* run
some services on non-standard ports but email won't for one. You're SOL
unless you can get more public IP addresses to use.

> My ISP has not enabled ipv6 yet.

	If IPv6 addresses will do for public then you can always tunnel an
IPv6 connection from Hurricane Electric - it's free and you get a /64 and
if you want it a /48 to use. I think they're the only tunnel broker left
that still provides tunnels on request.

-- 
Steve O'Hara-Smith                          |   Directable Mirror Arrays
C:\>WIN                                     | A better way to focus the sun
The computer obeys and wins.                |    licences available see
You lose and Bill collects.                 |    http://www.sohara.org/


More information about the freebsd-questions mailing list