1000mbps Fiber Internet connection via GPON in SFP+ port (2.5Gbps, 1500 MTU)
WireGuard server (1420 MTU)
WireGuard clients (mobile phone and a laptop)
I have no problems reaching ~950mbps speeds when accessing Internet directly from behind the router. However, it seems that when connecting from other devices via WireGuard, the speed drops significantly:
LTE connection - ~300mbps, LTE via WireGuard tunnel - ~30mbps
5G connection - ~1200mbps, 5G via WireGuard tunnel - ~120mbps.
I read a lot of other posts on the forums - I’m aware CPU might be a limiting factor when talking about WireGuard. However, I don’t think that’s the case as the CPU usage when performing the tests never exceeds 20%. I also read http://forum.mikrotik.com/t/rb5009-wireguard-only-150-mbps/155060/1 where it’s visible that RB5009 can achieve 900Mbps via WireGuard.
Can it be somehow related to the GPON I’m using? MTUs? Maybe something on the Firewall side?
Would appreciate any help. If any additional details are needed, let me know.
Make sure you create a rule that removes any fasttracking from the routes to and from your WG interface. WG because of the enc/dec needs to be CPU only and fasttrack, L3HW offload etc do not help and will only interfere with it’s operation. Also try setting your MTU to 1350 (on both the Mikrotik and the “client” device), mobile providers are hardly 1500MTU and in many cases seem to be around 1440MTU which means you need to be even lower than that for the encapsulation.
In general, require only one bridge, add all vlans to the bridge. Remove frame types from bridge, and use them where applicable on bridge ports…
One wireguard interface is required only…
Understand you wish to separate remote users from another wireguard site…we will use separate IP address LOL
Keep alive is not used for peers on the Server Router, it is to be used on the peer settings of the client device… to keep connecting to the mT SERVER.
Where is config for other peer router for wireguard???
What is the purpose of sffplus1, to connect to ISP… for internet connection and for IPTV I presume..
Internet vlan30 will terminate at IP DHCP client or at pppoe client whichever is applicable.
IPTV should require some IGMP and multicast???
VLan5 is management is fine, but need to add one for LOCAL LAN lets say VLAN10.
You are missing /interface bridge ports and /interface bridge vlan settings???
Also input chain… source address is okay for wireguard rule, BUT ONLY if its a static PUBLIC IP that will not change.