Johnny4233 Posted June 6, 2022 Share Posted June 6, 2022 Hallo zusammen, mich habe per WireGuard eine server zu server Verbindung zu einem anderen unfair host aufgebaut. Per unassigned devices einen share remounted. nachts wird dann ein Backup auf den anderen Remote Share gespeichert. leider wird die VPN Verbindung geschlossen sobald irgendwann mal die dsl Leitung aufgibt/neu startet oder ähnliches. Ich muss dann übers gui den Tunnel abschalten und wieder einschalten. Dann gehts wieder. Keep alive ist Aktiv (20) Was kann man da machen damit ich da nicht immer manuell eingreifen muss? grus Quote Link to comment
mgutt Posted June 6, 2022 Share Posted June 6, 2022 @JorgeB Do you know a terminal command which is able to start/stop wireguard connections? Quote Link to comment
JorgeB Posted June 7, 2022 Share Posted June 7, 2022 14 hours ago, mgutt said: So you know a terminal command which is able to start/stop wireguard connections? Nope, sorry, bonienl might know. Quote Link to comment
mgutt Posted June 7, 2022 Share Posted June 7, 2022 @bonienl Do you know a command? Quote Link to comment
bonienl Posted June 7, 2022 Share Posted June 7, 2022 You can use wg-quick up wg0 To bring tunnel 0 up (use ‘down’ to put tunnel down). This should also work from the GUI unless there is an error. Caution: Unraid 6.10 you need to use the GUI to bring the tunnel up or down, because it executes additional commands. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.