OPNsense Forum

English Forums => General Discussion => Topic started by: olluz on May 13, 2024, 09:15:57 PM

Title: Forward requests based on domain name
Post by: olluz on May 13, 2024, 09:15:57 PM
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!
Title: Re: Forward requests based on domain name
Post by: Patrick M. Hausen on May 13, 2024, 09:20:25 PM
What do you mean by "based on the domain name"? Which protocol? Can you provide examples?