hide.client.linux
hide.client.linux copied to clipboard
When I reboot my router, the vpn will not reconnect
From time to time I reboot my router (crappy ISP/router), it takes 3 minutes to have internet again, and this client will give up reconnecting.
My workaround/fix at hide.me.go
fmt.Println( "Main: [ERR] Connect failed,", connectErr ); err = connectErr
// break
continue connectLoop
}
fmt.Println( "Main: Connected to", client.Remote() )
connectResponse.Print()
I have the same issue. I try to generate the WireGuard configuration base on this project, and using the config on GL.iNet router, it works. But when the router disconnect the WireGuard, after 2 minutes, try to reconnect, it will give up connecting. Anyone know how to fix this? Do I need to call the disconnect API?
My workaround at the file hide.me.go, is replace the "break" at line 155 by "continue connectLoop" Test if it works for you too.