1
Virtual private networks / Re: Resolution of dynDNS - Wireguard site-to-site
« on: October 22, 2021, 11:48:38 pm »
Thanks for the suggestion! I was trying not to complicate things too much. But I was able to get this working, here were my general steps for anyone finding this topic:
- Copied https://git.zx2c4.com/wireguard-tools/tree/contrib/reresolve-dns/reresolve-dns.sh to a new directory: /usr/local/manualwgtools/reresolve-dns.sh
- followed this guide to add a cron task: https://forum.opnsense.org/index.php?topic=2263.msg8504#msg8504
- Using command: bash /usr/local/manualwgtools/reresolve-dns.sh /usr/local/etc/wireguard/wg1.conf
- set cron task in GUI