OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 23.7 Legacy Series »
  • Wireguard clients behind gateway reconnect when WAN connection is interrupted
« previous next »
  • Print
Pages: [1]

Author Topic: Wireguard clients behind gateway reconnect when WAN connection is interrupted  (Read 488 times)

packetSniffer

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Wireguard clients behind gateway reconnect when WAN connection is interrupted
« on: January 27, 2024, 11:21:58 pm »
I'm running Wireguard on clients (raspbian, Windows, iOS) connecting to a remote server in a hub and spoke configuration.

I'm running 23.7.12 on amd64 .

If I loose my WAN connection for a bit or move to a different WAN connection (cellular modem) - while on the cell connection and when I move back to the cable modem the Wireguard tunnels don't come back. 
I can make them come back by:
    Stopping and starting the wireguard service on the client
     Changing the listen port on the client without stopping/starting
    Manually clearing the entire state table on the firewall

Do folks have suggestions on tuning this so that manual intervention is not required?

What else can I check?
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 23.7 Legacy Series »
  • Wireguard clients behind gateway reconnect when WAN connection is interrupted
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2