FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
228 views 0 comments
by anonymous
Hello folks.

I tried to setup a wireguard VPN tunnel from the RUT X11 to my home enviroment running a Unfi UDM-PRO SE. Somehow, I have trouble to connect to my home enviroment when using a FQDN over a dynamic DNS supplier. Using the IP adresse works fine so far.

As soon I enter the FQDN into the config all clients don't have any internet connection. The boot up process is also unstable and slow. But as soon the RUT X11 is up I can resolve the DNS hostname, but no handshake to the wireguard tunnel. It looks like that the DNS server is not up when the wireguard process will be started.

Any ideas on this?

1 Answer

0 votes
by anonymous

Hello,

Look at this question it will provide you with a workaround.

Alternatively you can use wireguard_watchdog via cron:

echo '* * * * * /usr/bin/wireguard_watchdog' >> /etc/crontabs/root
it will protect you if the ip address of the other end changes as it is dynamic. Unfortunately it doesn't cope well if the tunnel has never been established.
Regards,