One of the things I have been struggling to setup in the last few years was a reliable way of setting up my Domain DNS with my home internet connection. My ISP (Telus) assigns dynamic IP address, which is typical for many home internet connections. I was using ddns to handle my vpn url, however reciently I missed the renewal email and I hadn't bothered to set something new up. I have a greengeeks webhosting account, and use PFSense as my home firewall/router so I decided to have a look at the settings and see what I can setup with the two of these.
The first thing you will want to do is setup the DNS on your GreenGeeks account.
1. Go to Dynamic DNS when you enter the CPANEL
2. Create a new entry
3. Fill Out all the relevant information. So a good example for this might be vpnconnect.yourdomain.ca where vpnconnect is the subdomain and yourdomain.ca is the domain selected. You can manually enter in your ip from your firewall here I left mine blank and will be propagated once the URL is put into the PFSense Firewall.
Once Created. Copy the Dynamic DNS URL, we will need to put it into our PFSense Firewall.
Login to PFSense go to Services -> Dynamic DNS
1. Setup Dynamic DNS
2. Press the + Add Button
3. Select the Service Type to "Custom" and both interfaces should be set to "WAN"
4. Enter in your username and password for your cpanel account.
5. Enter in the URL for updating your Dynamic DNS. We copied the URL from our Dynamic DNS Settings in the CPANEL
Once you hit SAVE, the firewall should update and your IP will display in the webhost CPANEL and on your PFSense Firewall. If the IP is green then everything is good, if it is red, then it is not working properly.