The original post: /r/ubuntu by /u/Human_Marsupial_9588 on 2024-08-04 07:36:33.

Hello everyone, I’m setting up a server wireguard on ubuntu and I encountered the error: Client_loop: send disconnect: Broken pipe Error when I enter the command systemctl start [email protected]. After entering systemctl start [email protected] my server just crashes. I can’t access it. And every time I have to reinstall the server and make the settings again. I’m already tired of it because it takes a lot of time. From what I did: sshd_config found the ClientAliveInterval item, changed it to 60, and set countMax to 10000; in the ssh.conf settings I changed ServerAliveInterval + CountMax; In the ufw settings I enabled support for port 51820/udp + shh, but none of this helped. I ask knowledgeable people to help, I’ve never set up servers before, and then there’s wireguard, maybe I’m doing something wrong. Thanks to all!