Alias for public IP to add to home networks?

Started by JdeFalconr, June 12, 2020, 05:51:52 PM

Previous topic - Next topic
Per https://homenetworkguy.com/how-to/configure-intrusion-detection-opnsense/#:~:text=To%20configure%20intrusion%20detection%20in,click%20the%20%E2%80%9CApply%E2%80%9D%20button. I'm adding my public IP to the Home Networks settings area. My concern, though, is that I don't want to have to manually update that address if it changes. Is there some kind of alias or variable I can put into that field that will update when my public IP updates?

I believe you can put a domain name (including a dynamic DNS address) instead of the IP address. I may not have been sure at the time that it works properly so I did not mention it in my blog post. There are certain areas in OPNsense where domain names will work (such as Suricata) and others where it will not work (firewall rules).