How to redirect custom urls to some local IPs with pfSense

17,243

Found that by myself some time ago.

I used "DNS forwarder" service, and added custom host overriding and redirected to a specific machine with its IP.

(used address=/domain.ext/192.168.0.42 in advanced config in DNS forwarding service)

Share:
17,243
guillaumepotier
Author by

guillaumepotier

@guillaumepotier on Twitter

Updated on June 05, 2022

Comments

  • guillaumepotier
    guillaumepotier almost 2 years

    I'm using a pfSense router and I'm desperately trying to configure a custom url (eg: myurl.ext) that should mapped by pfSense to a local server (eg: 192.168.0.x).

    Like I do with my /etc/hosts and creating a line myurl.ext 192.168.0.x but on the pfSense level to do that for every device that should connect on the same network.

    How could I achieve so? What is a name of what I am trying to do ? (DNS forwarding, Host override, dnsmasq, NAT....)