Forward requests based on domain name

Started by olluz, May 13, 2024, 09:15:57 PM

Previous topic - Next topic
Is there a possibility to forward requests based on the domain name ? Without using a reverse proxy ?

I'd like to use OPNsense (os.domain.com) to do some filtering (e.g. GeoBlocking) and then forward accepted requests based on the domain name to a secondary server (gw.domain.com).

like so: Internet -> [OPNsense] os.domain.com -> [MailGateway] -> gw.domain.com

Is that possible via OPNsense (not using a reverse proxy) ? And if yes, how ?

Thanks in advance!

What do you mean by "based on the domain name"? Which protocol? Can you provide examples?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)