New Back to home feature testing

So Mikrotik released new feature called back to home (WG VPN) and @normis asked for us to do a little testing, so they can see how they relay handles the load. I’m opening new topic so we don’t spam topic about ROS beta releases.

My results:

Without VPN, 5G network (rural area):

WhatsApp Image 2023-07-12 at 14.42.50j.jpg

With VPN enabled:

WhatsApp Image 2023-07-12 at 14.42.50.jpg
Home internet speed is 170/140 Mbps so there are no bottlenecks on that side

If your router is behind NAT (no public IP), the connection is going through our Relay server in Latvia (for now our servers are only in one country). This is why the speed is different.

Good enough for me, will try it on laptop too.

Enabled on AX3, NOT using mobile app (it’s not needed, you see …)
Got print from terminal (zoomed WAY OUT), QR code scanned in Wireguard app on Android Samsung S20.

Home network: 500/30

Tested using mobile
baseline 66.6 / 3.86 ( :open_mouth: )
BTH: 23.7 / 3.85

Tested using wifi (home network, observed counters on freevpn-wg were moving as well)
Baseline: 480/28.76
BTH: 21.9/12.6

But I must say, app looks pretty good :sunglasses:

I presume speeds and ping will get better once Mikrotik deploys more relay servers.

We have now widened supported device list, ARM/ARM64/TILE are now supported in 7.11beta6. Please test :slight_smile:

Tested on RB4011iGS+, no problems, same performance as on ax3, will try to test later with ac3, unfortunately i don’t have any TILE based device…

Screenshot_2023-07-19-15-29-07-476_org.zwanoo.android.speedtest-edit.jpg

Any ideas when this will be available on the Hex S / MMIPS?

And for now with 7.11beta6 we have ARM/ARM64/TILE devices

Little testing this weekend, my wife’s phone and my were connected to VPN all the time, streaming videos, netflix etc no problems at all.

Hi,
I tried the new Back to Home feature. Downloaded the android Back to Home app on a Samsung A53. It connected succesfully with my RB5009 v7.11beta7 at home, on my local WiFi. I left the DNS Server (optional) empty. So I then switch off the WiFi on my phone, to try to see if I could connect via the gsm 4G network. It then also `connects, and I can open my MicroTik android app.

However, as soon as the VPN is connected, I’m losing all other acces to internet. So I also can’t check the bandwitch speed via Speedtest, I can’t even reach this forum then.
Any idea what I should change in the config?

Kind regards

You should set the DNS when you configure it. Next versions will handle this better and will not even ask for it.

Hi Normis,
What should I be entering in the DNS field in the android Back to Home app?
f.e: 1.1.1.1, or just set it to 192.168.88.1 ?

as you wish, both will work
either router, the ISP of the router, or any public DNS

Tested with Chateau LTE18 ax today, but with Wireguard app for Windows, works like a charm.

Oefff it got worse for me :frowning:
I keep getting “Connection Refused” error messages when trying to open the MicroTik android app, even if the new BTH vpn is connected. I even did a reset of the RB5009 → System → Reset Configuration to start fresh. And then created a new tunnel in the BTH android app. That part goes fine, the vpn connection is getting established. But then, i lose my internet and now also the connection refused messages from both the android MicroTik Pro app and also the MicroTik Home app.
Any suggestions…?

Edit: not sure if it matters, but in Winbox: WireGuard → tab WireGuard → select the back-to-home entry, then go to tab Traffic. I see a lot of Tx/Rx Errors.

What are allowed IPs ? You should have 0.0.0.0/0 to be able to access internet through your RB5009 when connecting with a client.

I can connect with Mikrotik app normally to the router. One thing that you can check is that WG interface is in interface list and it’s assigned to LAN list. That could be the reason your connection gets refused.

Also check if firewall rule is created, it should be first rule in chain, back-to-home-vpn.

Can you post your config here ? Minus sensitive data as public and private keys etc. Maybe WG guru @anav see post :smiley:

Thanks for the tips!
-I tried to disable all firewall rules, just to see if one of these rules where the issue, but that did not help. So I could rule out the firewall.
-The WG interface is connected to LAN, I double checked. So that’s fine I guess.

-the suggestion regarding 0.0.0.0/0 was the winning tip!! So, in WinBox, WireGuard → Peers menu, there are two peers here. I’m seeing one with comments regarding my Samsung phone, so that’s clear. The other one is called ‘back-to-home-vpn’…so I’m guessing that’s some sort of default peer that was automaticly created by the new BTH functionallity?
In the Samsung phone peer, strangley there was only one row with Allowed adress: 192.168.216.2/32. I have added a second entry here: 0.0.0.0/0 I’m asuming that’s whtat you ment… :slight_smile:
That did the trick! After connecting with the BTH app on my phone, i can open the MicroTik Pro app now succesfully! Thanks!

So my next question is, how do I reach all other network devices behind the RB5009 in the house? F.e, I can’t reach my network audio players or NAS. So I’m guessing I have to do something extra to also reach these devices behind the router?

Your client should have 0.0.0.0/0 in allowed addresses, you need to check that.

I don’t have 0.0.0.0/0 anywhere in router settings as far as i can see, only in client config so you should leave it as is.

You can always try with wireguard app, scan qr code and that’s it

I tested a little bit right now and i can access my devices without a problem.

You should export your configuration, remove sensitive data like public keys etc and post it here so someone more experienced may help you, but as i said, i didn’t make any additional changes, it worked out of the box.

You should have something like this:

client config.jpg

Here some of the configs:

Are any other configs handy?
Again, it seems to work now I have added the extra 0.0.0.0/0 into the Allowed Address under the Peer. Only issue now is, what should I do to also be able to find other devices on the local network behind the RB5009?

Update: not sure what happend, but I can reach the devices behind the router now. So maybe it was just a mather of patience …
Can someone confirm that the above added ‘Allowed address’ 0.0.0.0/0 in the Peer (it’s the client peer, my Samsung phone) is oke/secure..? Since it seems that others are not adding it there… so that’s interesting.

Also, I would like to also add the Windows WireGuard client on my laptop, to also create a wiregueard tunnel between the laptop and the RB5009. Can I ‘reuse’ the ‘back-to-home’ Wireguard entry for that? If so, than al I would have to do I think is just create a new (client) Peer… or shoud I create a compete new WireGuard entry, so I would then end up with a ‘back-to-home’ WireGuard entry and a ‘Laptop-wireguard’ entry under the WireGuard menu? Thanks for the help!