Configuring DDNS for OpenVPN
-
Hi everyone!
I've managed to configure a VPN connection via DDNS so I can access things like the pfSense's GUI and SSH console screen remotely. I did that by manually changing the VPN's "remote" attribute at the Edit Config option in the OpenVPN side icon, by changing from the WAN address to the DDNS domain address.
Okay, it worked. But I'm pretty sure there must be an easier way to make this change, in the GUI. Can someone give me a hand on how to do this same domain alteration but in GUI?
Thanks!
-
@zer0vini
Just enter your FQDN into the remote line instead of the IP. -
@viragomann I'm confused on which option I should change to make this right. You mean the "IPv4 Local Network" parameter?
-
At this point:
@zer0vini said in Configuring DDNS for OpenVPN:I did that by manually changing the VPN's "remote" attribute at the Edit Config option in the OpenVPN side icon, by changing from the WAN address to the DDNS domain address.
If you want to have it preset, when exporting the config from pfSense with the client export utility, select your DDNS address at "Host Name Resolution" or select "other" and enter it manually in the next line and save it for future using.
-
@viragomann OH! I get it now! I thought I needed to configure it by editing the VPN's config/wizard. But still, I knew it has to have an easier way.
Thanks a lot!