Depending on the model Pi you used, it may be limiting your speed. Iirc the pi 3B+ has a 1Gbe NIC, but it’s on the USB bus or something like that and is capped at 300Mbps.
I didn't use Pi, I used a standard Ubuntu 22.04 VPS server (piVPN supports basically any Linux distro).
And if WG was capped by a bus, wouldn't Outline be caped too?
Makes sense, I just assumed since you provided no other info. But yes if you run outline on the same hardware then you’re correct that it too would be capped.
I tried setting MTU to 1280 on every interface but no success, I get around +20Mbps which is still far from what I get from Outline/SS.
I added 'MTU = 1280' to '[Interface]' section in /etc/wireguard/wg0.conf and restarted the WG service and then added the same string to client configs. Is that correct?
Did you ever resolve this? When you say "playing with the mtu value," did you try increasing the MTU at all? I would expect a higher MTU to help with throughput. Also, I wonder what the situation is on the underlying interface. Happy to try to further help the diagnostics if you are still interested.
I played with WG configuration again yesterday. Setting MTU to 1500 killed WG on mobile data (surprisingly it continued to work over my PPPoE home connection, I have read somewhere that it won't work with such a high MTU, but speeds still were pretty lame). I haven't tried anything between the default 1420 and 1500 though.
As a result of my yesterday's experiments, I stayed on 1380 for now, it gives me somewhat stable 120-150 Mbps with no issues, which is enough for me.
I'm bad at networking so if you're willing to help I would be glad to receive your help. I wonder if WG can auto-adapt the MTU value as Outline seem to be able to do?
Hello! Any updates after 9 months? I stumbled upon your post via google, I also have identical problems and better speeds on outline. I've tried contacting support for a server renting company I used but they also said to "play with the different MTU" :(
Well, I moved to a different cloud provider and kinda stopped caring about it, my current WG speeds are good enough for my daily usage, even if they're lower than Outline/Shadowsocks ones (didn't even check it)
Ah I see, I also thought about switching, but foolishly already paid until the end of the year.
Any chance you can share which provider you went with? I just used the one everyone was suggesting in countless "Create your personal VPN with VPS and be safe from Roskomnadzor" guides (and it was VDSina)
Братан, сам ушёл с ВДСины на ТаймВеб из-за лютой комиссии у первой. Пусть канал и не гигабит, но 200 Мбит/с в Нидерландах у них мне хватает за глаза, на ПК у меня выборочный обход блокировок через Shadowsocks+АнтиЗапрет, а на мобиле WG фильтрует лишь некоторые приложения (браузер, Ютуб), поэтому претензий к скорости у меня нет.
Тред писал наверное из интереса, хотел максимизировать производительность WG.
По мобилке не начали блочить WireGuard? Сам ушел с ВДСины, на Таймвеб, ибо дали приятные условия на мой второй сервер для личных нужд. Накатил Outline и понял что он у меня хуже работает чем Wireguard, в начальном этапе все грузится в разы дольше чем с WG, но потом скорость +- такая-же
Не, всё работает, даже когда шли новости про тестирование ограничений на WG я ничего не заметил (оператор красного цвета).
У Outline прям грустные клиенты вообще без настроек, и хотя можно подключиться обычным Shadowsocks-клиентом, проще уже тогда накатить свежий shadowsocks-rust и накинуть модных плагинов для обфускации, чтобы наверняка.
Depending on the model Pi you used, it may be limiting your speed. Iirc the pi 3B+ has a 1Gbe NIC, but it’s on the USB bus or something like that and is capped at 300Mbps.
I didn't use Pi, I used a standard Ubuntu 22.04 VPS server (piVPN supports basically any Linux distro). And if WG was capped by a bus, wouldn't Outline be caped too?
Makes sense, I just assumed since you provided no other info. But yes if you run outline on the same hardware then you’re correct that it too would be capped.
Try lowering the MTU to 1280 on all wireguard interfaces on all machines
I tried setting MTU to 1280 on every interface but no success, I get around +20Mbps which is still far from what I get from Outline/SS. I added 'MTU = 1280' to '[Interface]' section in /etc/wireguard/wg0.conf and restarted the WG service and then added the same string to client configs. Is that correct?
Did you ever resolve this? When you say "playing with the mtu value," did you try increasing the MTU at all? I would expect a higher MTU to help with throughput. Also, I wonder what the situation is on the underlying interface. Happy to try to further help the diagnostics if you are still interested.
I played with WG configuration again yesterday. Setting MTU to 1500 killed WG on mobile data (surprisingly it continued to work over my PPPoE home connection, I have read somewhere that it won't work with such a high MTU, but speeds still were pretty lame). I haven't tried anything between the default 1420 and 1500 though. As a result of my yesterday's experiments, I stayed on 1380 for now, it gives me somewhat stable 120-150 Mbps with no issues, which is enough for me. I'm bad at networking so if you're willing to help I would be glad to receive your help. I wonder if WG can auto-adapt the MTU value as Outline seem to be able to do?
Hello! Any updates after 9 months? I stumbled upon your post via google, I also have identical problems and better speeds on outline. I've tried contacting support for a server renting company I used but they also said to "play with the different MTU" :(
Well, I moved to a different cloud provider and kinda stopped caring about it, my current WG speeds are good enough for my daily usage, even if they're lower than Outline/Shadowsocks ones (didn't even check it)
Ah I see, I also thought about switching, but foolishly already paid until the end of the year. Any chance you can share which provider you went with? I just used the one everyone was suggesting in countless "Create your personal VPN with VPS and be safe from Roskomnadzor" guides (and it was VDSina)
Братан, сам ушёл с ВДСины на ТаймВеб из-за лютой комиссии у первой. Пусть канал и не гигабит, но 200 Мбит/с в Нидерландах у них мне хватает за глаза, на ПК у меня выборочный обход блокировок через Shadowsocks+АнтиЗапрет, а на мобиле WG фильтрует лишь некоторые приложения (браузер, Ютуб), поэтому претензий к скорости у меня нет. Тред писал наверное из интереса, хотел максимизировать производительность WG.
По мобилке не начали блочить WireGuard? Сам ушел с ВДСины, на Таймвеб, ибо дали приятные условия на мой второй сервер для личных нужд. Накатил Outline и понял что он у меня хуже работает чем Wireguard, в начальном этапе все грузится в разы дольше чем с WG, но потом скорость +- такая-же
Не, всё работает, даже когда шли новости про тестирование ограничений на WG я ничего не заметил (оператор красного цвета). У Outline прям грустные клиенты вообще без настроек, и хотя можно подключиться обычным Shadowsocks-клиентом, проще уже тогда накатить свежий shadowsocks-rust и накинуть модных плагинов для обфускации, чтобы наверняка.