OPNsense Forum

English Forums => Intrusion Detection and Prevention => Topic started by: JdeFalconr on June 12, 2020, 05:51:52 PM

Title: Alias for public IP to add to home networks?
Post by: JdeFalconr on June 12, 2020, 05:51:52 PM
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. (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?
Title: Re: Alias for public IP to add to home networks?
Post by: homenetworkguy on June 19, 2020, 03:14:40 AM
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).