Hello, I need some help with wireguard. My home internet is about 800(down) mbps and 25(up) mbps and the wifi I’m using in a different country is about 85(down) mbps and 25(up) mbps but for some reason my travel router Beryl AX is hitting only 200-300 kbps on their wifi and lan using wireguard. Anyone have any idea why this is happening?
Likely fragmenting. Reduce the MTU to 1320 on you Beryl wireguard config and reconnect. If that helps, then keep increasing it by 20 until you find the optimal speed.
I would think adjusting MTU and MSS would help with performance issues. I had to do this on my 1.5Gbps internet connection at home. Sure I still get about 30Mbps-50Mbps on 5G but it’s a steady connection.
i have 600 down and 600 up fiber. i can only get about 70 down and about 25-45 up. sometimes it’s less on both upload and download. i thought it would have been a little faster but no it’s not.
Different speed test servers, depends on the path and how far away you are. Just because you get a certain value within a few miles of your proximity has nothing to do with international routing.
MTU also plays a factor if you haven’t adjusted for overhead.
For fun I asked chatGPT your question…
I can try to help you troubleshoot your Wireguard issue. It sounds like you are experiencing a significant drop in speed when using Wireguard on your travel router compared to your home internet and the wifi in the different country. Here are a few things you can check:
-
Server Configuration: Ensure that the Wireguard server configuration on your travel router is optimized for performance. Check the settings such as encryption algorithms, allowed IPs, and MTU size.
-
Network Congestion: The slow speed could be due to network congestion on the wifi network you are connecting to. Try testing the speed at different times of the day to see if it improves.
-
Firewall Settings: Check if there are any firewall settings on the travel router that might be affecting the speed of the Wireguard connection.
-
ISP Restrictions: Some ISPs may throttle VPN connections. You can try connecting to a different network to see if the speed improves.
-
Device Performance: Ensure that the travel router’s hardware is capable of handling the VPN encryption/decryption process efficiently.
-
Update Firmware: Make sure your travel router’s firmware is up to date as newer firmware versions may have performance improvements.
If none of these steps help, you may need to further investigate the specific configuration and settings of your Wireguard setup on the travel router to identify the root cause of the slow speed issue.
Yeah it was an MTU issue. Thank you!!!
hello if you change MTU on travel router would you have to change on home VPN server as well to match or no ? I am having same issue so was wondering about this as I did not setup remote access for my VPN server.
I usually get like 25 mbps but over here I get kbps. Which makes no sense
But mine is in the kbps and not mbps
When I’m on wifi I get 200 kbps but on 4g hotspot I get 16 mbps. I’m just confused because on lan I get 200 kbps too.
As I understand it, MTU is negotiated on a per connection basis bidirectionally using Path MTU Discovery and ICMP messaging. If you set it to 1320 on your client end, the “server” end is going to respond with the same MTU in response for the connection in most cases.
That said, it’s ideal if you can set the MTU equally on both ends. This way you can avoid issues where ICMP error messaging may be ignored by device or network policies.
yes i know. i would check to see if you are behind a double nat and if you have your port forwarding on correctly. i would make sure you are hard wired as well.
Definitely fragmenting packets. See my other comment about MTU adjustment.
then it means there’s something with the local segment preventing performance if it’s the same wifi vs wired, since you’re using a HTTP service to test speed you’d need to tune around HTTP parameters, fragmentation murders a reasonable browsing experience.
If you adjust MTU in the tunnel then the TCP MSS will set the MTU to a lower value to allow your packets to traverse without fragmenting as it will lower the size of the packets when establishing a TCP session. I usually use 1400 to allow for another encapsulation mechanism along the path.
Thanks I appreciate that I will experiment and see I’m already pretty low at 1350 so I hope I don’t have to go much lower
Holy shit thank you!! It was an MTU issue. On default at 1420 I get kbps but if I lower it it gets fixed.
They probably vpn your traffic and dump it out somewhere else, glad you found a reasonable workaround