wireguard "client" hang

Started by aringking, September 04, 2024, 02:42:15 PM

Previous topic - Next topic
wireguard "client" connects to wireguard "server".

the server reboots and isp assigned a new ipv6 address, server updates the dynamic dns

the client hangs, still pointing to the "old" address

what options/switch do i need to adjust/set so the client will timeout, requery the dns and reconnect to the server with the "new" address?

thanks

I use a cron job named "Renew DNS for WG on stale connections" under

System -> Settings -> Cron

run every min or so. Works just fine.
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Quote from: chemlud on September 04, 2024, 02:46:56 PM
run every min or so. Works just fine.
Usually the problem is with the client, not OPNsense. I don't think that there is an easy solution for always-on connections.

Quote from: chemlud on September 04, 2024, 02:46:56 PM
I use a cron job named "Renew DNS for WG on stale connections" under

System -> Settings -> Cron

run every min or so. Works just fine.

thanks much! am not well-versed in opnsense, i thought there was some switch/option/parameter that i have to set. cron it is. thanks again