How to steer public traffic to a jail

freebsd at boosten.org freebsd at boosten.org
Fri Aug 14 14:39:45 UTC 2020



> 
> 
> So what I hear you saying is there is only one set of official port numbers. That any port can only be used one time. [IE; if host is using port 22 then it can not be used in a jail.] 

You can use a port only once _per IP address_. In a VNET configuration you can assign each jail a unique IP address. In your case that should be a non-rfc1918 address.

If it were only for web- and email traffic you could go with one public IP address and routing/reverse proxying.


Peter

—
It never hurts to help — Eek!





More information about the freebsd-questions mailing list