Carsten Bäcker wrote:
Hi,

you may want to have a look into reverse proxying, e.g. using nginx on
your jail-host.
Really basic example:

|http { server { listen 80; server_name your.1st.domain.com; location /
{ proxy_pass http://127.0.1.2; } } server { listen 80; server_name
your.2nd.domain.com; location / { proxy_pass http://127.0.1.3; } } }|


This looks interesting.

When does nginx see the packet, before the firewall or after the firewall passes it through?

Employing this concept each unique domain name is the element used to target the jails private ip address.

Would need a server clause for each port number/domain name targeting each jail.

This would work for port 21, 22, 23, 25
_______________________________________________
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"

Reply via email to