05-13-2020, 10:29 AM
I'm having trouble connecting to my WireGuard VPN from my Pinebook Pro. I have the WireGuard server set up on my Raspberry Pi and can connect to it successfully from all my other devices including a Linux PC, a Mac, and an Android phone. My only trouble is with the Pinebook Pro. I have them all set up the same way to use the Pi as a server, so I'm fairly certain there is nothing wrong with the configurations. I have all devices set to send all traffic over the tunnel. They all work great except for the Pinebook Pro.
What happens on the pbpro is that the WireGuard tunnel goes up and both the client and server say the connection is good. The handshakes are successful. There is data sent and received both ways. However, when I try to make network connections from the pbpro, I get a variety of errors:
When I ssh from the pbpro to a device on the VPN, it connects briefly, then within a second disconnects with an error. The errors are different at random:
Sometimes I get a glimpse of my tmux session before the ssh session disconnects. Sometimes it just doesn't connect at all.
When use Firefox or Chromium on the pbpro to browse websites (doesn't matter which), I also get a random variety of errors:
When I bring the WireGuard tunnel down on the pbpro, everything works, but obviously I'm not on the VPN.
I'm running Manjaro/KDE on the Pinebook Pro. I have tried both the native WireGuard in the Linux kernel I'm using on the pbpro (Linux pinebook pro 5.6.0-0.42-MANJARO-ARM) as well as the DKMS version of WireGuard with the same results.
I have tried using wg-quick from the command line and using the NetworkManager GUI to generate the config with the same results.
I don't know what else I can try. Have any of you got WireGuard working on the Pinebook Pro?
What happens on the pbpro is that the WireGuard tunnel goes up and both the client and server say the connection is good. The handshakes are successful. There is data sent and received both ways. However, when I try to make network connections from the pbpro, I get a variety of errors:
When I ssh from the pbpro to a device on the VPN, it connects briefly, then within a second disconnects with an error. The errors are different at random:
Code:
ssh_dispatch_run_fatal: Connection to <MY SERVER ADDRESS> port 22: message authentication code incorrect
ssh_dispatch_run_fatal: Connection to <MY SERVER ADDRESS> port 22: invalid format
kex_input_kexinit: discard proposal: string is too large
ssh_dispatch_run_fatal: Connection to <MY SERVER ADDRESS> port 22: string is too large
Sometimes I get a glimpse of my tmux session before the ssh session disconnects. Sometimes it just doesn't connect at all.
When use Firefox or Chromium on the pbpro to browse websites (doesn't matter which), I also get a random variety of errors:
Code:
ERR_SSL_PROTOCOL_ERROR
SSL_ERROR_BAD_MAC_READ
SEC_ERROR_REUSED_ISSUER_AND_SERIAL
SEC_ERROR_LIBRARY_FAILURE
When I bring the WireGuard tunnel down on the pbpro, everything works, but obviously I'm not on the VPN.
I'm running Manjaro/KDE on the Pinebook Pro. I have tried both the native WireGuard in the Linux kernel I'm using on the pbpro (Linux pinebook pro 5.6.0-0.42-MANJARO-ARM) as well as the DKMS version of WireGuard with the same results.
I have tried using wg-quick from the command line and using the NetworkManager GUI to generate the config with the same results.
I don't know what else I can try. Have any of you got WireGuard working on the Pinebook Pro?