Aliases with a dynamic IP
I am not sure if this is the correct category to post in about Aliases…..
So I have two offices, neither one a static IP. One location (#1) iam able to upgrade and get one, the other location (#2) i can not. So i want to create a firewall rule to allow traffic from Location 2 to Location 1. So i created a Alias, then the firewall rules. It works great. But my problem is location #2 has a dynamic IP Address. I have to go in and manually change it every time it gets a new IP Address. Very annoying.
My question is can i create an Alias that points to a dynamic IP Address? Is there a way for a pfsense box to talk to another pfsense box via some sort of dynamic IP service like dyndns?
I believe the simple answer to this is. No you can not make a dynamic alias.
Yes, you can.
Setup a DynDNS hostname for each unit, and then use that hostname in an alias.
The hostname is resolved periodically and updated in the background.