Community discussions

MikroTik App
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1458
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

New Back to home feature testing

Wed Jul 12, 2023 3:46 pm

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
You do not have the required permissions to view the files attached to this post.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: New Back to home feature testing

Wed Jul 12, 2023 4:32 pm

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.
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1458
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: New Back to home feature testing

Wed Jul 12, 2023 4:42 pm

Good enough for me, will try it on laptop too.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6317
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: New Back to home feature testing

Wed Jul 12, 2023 8:39 pm

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 ( :shock: )
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
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1458
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: New Back to home feature testing

Wed Jul 12, 2023 8:56 pm

But I must say, app looks pretty good 8)

I presume speeds and ping will get better once Mikrotik deploys more relay servers.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: New Back to home feature testing

Wed Jul 19, 2023 1:35 pm

We have now widened supported device list, ARM/ARM64/TILE are now supported in 7.11beta6. Please test :)
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1458
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: New Back to home feature testing

Wed Jul 19, 2023 4:26 pm

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
You do not have the required permissions to view the files attached to this post.
 
RichyRich
just joined
Posts: 2
Joined: Thu Jul 20, 2023 1:56 pm

Re: New Back to home feature testing

Thu Jul 20, 2023 2:02 pm

Any ideas when this will be available on the Hex S / MMIPS?
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1458
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: New Back to home feature testing

Thu Jul 20, 2023 4:25 pm

Clarification, currently the early beta is enabled only for these models:

"L41G-2axD"
"L41G-2axD&FG621-EA"
"C52iG-5HaxD2HaxD-TC"
"C53UiG+5HPaxD2HPaxD"
"S53UG+5HaxD2HaxD-TC&FG621-EA"
"S53UG+5HaxD2HaxD-TC&EG18-EA"
"S53UG+M-5HaxD2HaxD-TC&RG502Q-EA"
"L009UiGS-2HaxD-IN";

7.11 stable will unlock it for all ARM64 and possibly more devices in future. This is a gradual rollout, to see what our relays are capable of.
And for now with 7.11beta6 we have ARM/ARM64/TILE devices
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1458
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: New Back to home feature testing

Sun Jul 23, 2023 8:34 am

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.
 
User avatar
illidan
just joined
Posts: 6
Joined: Fri Jul 28, 2023 8:33 am

Re: New Back to home feature testing

Fri Jul 28, 2023 8:46 am

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
Last edited by illidan on Fri Jul 28, 2023 9:35 am, edited 3 times in total.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: New Back to home feature testing

Fri Jul 28, 2023 10:09 am

You should set the DNS when you configure it. Next versions will handle this better and will not even ask for it.
 
User avatar
illidan
just joined
Posts: 6
Joined: Fri Jul 28, 2023 8:33 am

Re: New Back to home feature testing

Fri Jul 28, 2023 10:34 am

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 ?
Last edited by illidan on Fri Jul 28, 2023 10:36 am, edited 1 time in total.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: New Back to home feature testing

Fri Jul 28, 2023 11:08 am

as you wish, both will work
either router, the ISP of the router, or any public DNS
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1458
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: New Back to home feature testing

Fri Jul 28, 2023 1:28 pm

Tested with Chateau LTE18 ax today, but with Wireguard app for Windows, works like a charm.
 
User avatar
illidan
just joined
Posts: 6
Joined: Fri Jul 28, 2023 8:33 am

Re: New Back to home feature testing

Fri Jul 28, 2023 4:54 pm

Oefff it got worse for me :(
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.
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1458
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: New Back to home feature testing

Fri Jul 28, 2023 10:37 pm

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 :D
 
User avatar
illidan
just joined
Posts: 6
Joined: Fri Jul 28, 2023 8:33 am

Re: New Back to home feature testing

Sun Jul 30, 2023 9:58 am

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... :)
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?
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1458
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: New Back to home feature testing

Sun Jul 30, 2023 11:29 am

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
You do not have the required permissions to view the files attached to this post.
 
User avatar
illidan
just joined
Posts: 6
Joined: Fri Jul 28, 2023 8:33 am

Re: New Back to home feature testing

Sun Jul 30, 2023 2:21 pm

Here some of the configs:

Image

Image

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!
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1458
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: New Back to home feature testing

Sun Jul 30, 2023 6:30 pm

You need to create new peer for your laptop. I created one today for my laptop and wireguard client and it's working like a charm.

I don't have 0.0.0.0/0 entry on peers in router, only one address, and that address is IP address of your phone and what its mean ia that only that ip address can access your VPN, and 0.0.0.0/0 means that all addresses can access VPN. Not good...
 
User avatar
illidan
just joined
Posts: 6
Joined: Fri Jul 28, 2023 8:33 am

Re: New Back to home feature testing

Sun Jul 30, 2023 10:04 pm

You need to create new peer for your laptop. I created one today for my laptop and wireguard client and it's working like a charm.

I don't have 0.0.0.0/0 entry on peers in router, only one address, and that address is IP address of your phone and what its mean ia that only that ip address can access your VPN, and 0.0.0.0/0 means that all addresses can access VPN. Not good...
Hmmmm allright, I had a bad feeling about how secure it was indeeed....thanks for your feedback!! I removed the 0.0.0.0/0... and to my suprise it still works... :) magic! :D :D
I'll play around with WireGuard client on my laptop next week. Just one more question; do you expect that WOL still works when connected via BTH Wireguard, f.e to wake up a NAS?
 
holvoetn
Forum Guru
Forum Guru
Posts: 6317
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: New Back to home feature testing

Sun Jul 30, 2023 10:22 pm

Not over wireguard.
But if you have access to your home Tik, you can always send a command from there ?
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4141
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: New Back to home feature testing

Mon Jul 31, 2023 12:04 am

Just one more question; do you expect that WOL still works when connected via BTH Wireguard, f.e to wake up a NAS?
Not over wireguard.
But if you have access to your home Tik, you can always send a command from there ?
True, WOL is layer-2, so not directly via WG.

But you can use /tool/netwatch to monitor the BTH peer allowed-address (e.g. 192.168.216.2), and in "on-up" script use "/tool/wol mac=XX:DD:CC:XX:XX:XX" as the script (replacing the MAC with your NAS's MAC address). Now perhaps with Windows, this might not work (since it normally blocks ping).
 
User avatar
illidan
just joined
Posts: 6
Joined: Fri Jul 28, 2023 8:33 am

Re: New Back to home feature testing

Thu Aug 03, 2023 1:04 pm

Just one more question; do you expect that WOL still works when connected via BTH Wireguard, f.e to wake up a NAS?
True, WOL is layer-2, so not directly via WG.

But you can use /tool/netwatch to monitor the BTH peer allowed-address (e.g. 192.168.216.2), and in "on-up" script use "/tool/wol mac=XX:DD:CC:XX:XX:XX" as the script (replacing the MAC with your NAS's MAC address). Now perhaps with Windows, this might not work (since it normally blocks ping).

Nice!! I tried it (via WinBox), and it works! Thanks!!
 
arslanarsenal
just joined
Posts: 1
Joined: Wed Aug 16, 2023 7:21 pm

Re: New Back to home feature testing

Wed Aug 16, 2023 7:34 pm

Hey there i just thought of testing the Back to Home Feature i only have few RB750gr2 and one RB2011 iL-rm. Architecture MIPSBE.
It looks like currently it only works on Hardware requirements: ARM/ARM64/TILE architecture devices
Do you know if it will be available for the old devices or MIPSBE based

(Fairly new user. I use Mikrotik on and off)
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1458
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: New Back to home feature testing

Thu Aug 17, 2023 11:09 am

BTH won't be available until 7.12beta for now, so maybe Mikrotik add support for other devices in 7.12 stable
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3334
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: New Back to home feature testing

Thu Aug 17, 2023 11:35 am

Do you know if it will be available for the old devices or MIPSBE based
There are no reason that it should not com on mipsbe devices, since it uses Wireguard that mipsbe do support today.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10513
Joined: Mon Jun 08, 2015 12:09 pm

Re: New Back to home feature testing

Thu Aug 17, 2023 12:04 pm

As far as I understand it, the limitation to certain devices was done only to deploy the new feature to a limited number of users so they could evaluate it before wider deployment. Not because of limitations of the architecture.
 
User avatar
trex2000
newbie
Posts: 29
Joined: Thu Aug 17, 2023 9:40 am

Re: New Back to home feature testing

Thu Aug 17, 2023 4:25 pm

For CCR2004-16G-2S+PC it says not supported, but it's an arm device...
 
holvoetn
Forum Guru
Forum Guru
Posts: 6317
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: New Back to home feature testing

Thu Aug 17, 2023 4:27 pm

What version of ROS are you using ?
Did you enable it before on any of the 7.11 testing versions (beta or RC) ?
If not, it will not show in 7.11 stable if that was the first time 7.11 was loaded on your device.

Move to 7.12beta or first apply test version of 7.11, enable BTH and then it should remain working after upgrade to 7.11 stable.
At least that's how I understood it should work...
 
User avatar
trex2000
newbie
Posts: 29
Joined: Thu Aug 17, 2023 9:40 am

Re: New Back to home feature testing

Thu Aug 17, 2023 4:31 pm

7.11 stable.
Where should I enable it ?
 
holvoetn
Forum Guru
Forum Guru
Posts: 6317
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: New Back to home feature testing

Thu Aug 17, 2023 4:32 pm

Again... was that the first 7.11 version on your device ?
If so, it will not work.

First move back to one of the 7.11 rc version, or move to 7.12 beta.
It will appear then in IP / Cloud.
 
User avatar
trex2000
newbie
Posts: 29
Joined: Thu Aug 17, 2023 9:40 am

Re: New Back to home feature testing

Thu Aug 17, 2023 4:32 pm

I had the impression based on the forum thread that it will automatically configure it, not manually configuring wireguard.
 
User avatar
trex2000
newbie
Posts: 29
Joined: Thu Aug 17, 2023 9:40 am

Re: New Back to home feature testing

Thu Aug 17, 2023 4:33 pm

Again... was that the first 7.11 version on your device ?
If so, it will not work.

First move back to one of the 7.11 rc version, or move to 7.12 beta.
It will appear then in IP / Cloud.

No, I've used previous 7.xx versions as well. I just updated today to 7.11
 
pe1chl
Forum Guru
Forum Guru
Posts: 10513
Joined: Mon Jun 08, 2015 12:09 pm

Re: New Back to home feature testing

Thu Aug 17, 2023 4:33 pm

7.11 stable.
Where should I enable it ?
The BTH VPN has been removed from 7.11 stable! It was only available in 7.11 beta
 
User avatar
trex2000
newbie
Posts: 29
Joined: Thu Aug 17, 2023 9:40 am

Re: New Back to home feature testing

Thu Aug 17, 2023 4:35 pm

Oh, I see
Then I will stick to openvpn that I have used previously.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6317
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: New Back to home feature testing

Thu Aug 17, 2023 4:37 pm

Again... was that the first 7.11 version on your device ?
If so, it will not work.

First move back to one of the 7.11 rc version, or move to 7.12 beta.
It will appear then in IP / Cloud.

No, I've used previous 7.xx versions as well. I just updated today to 7.11
You're not really answering the question, are you ?
 
holvoetn
Forum Guru
Forum Guru
Posts: 6317
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: New Back to home feature testing

Thu Aug 17, 2023 4:38 pm

The BTH VPN has been removed from 7.11 stable! It was only available in 7.11 beta
...and 7.11rc, pulled from 7.11 stable and back again in 7.12 beta.
 
LaZyLion
newbie
Posts: 32
Joined: Fri May 09, 2014 10:27 am

Re: New Back to home feature testing  [SOLVED]

Mon Aug 21, 2023 9:02 pm

In addition to having RouterOS as the vpn server, could we all use Mikrotiks as the vpn clients?

Is there a limitation to how many clients one could setup with this?

Having a public IP on the server isn't an issue for us, but I like the simplicity of Zerotier for setup and management. I would love to have the same simplicity for Wireguard. (Having all my Zerotier clients mesh to each other over cell is not desirable.)

Will there be an option to self-host our own relays? Will there be a subscription option for those that want multiple clients?
 
holvoetn
Forum Guru
Forum Guru
Posts: 6317
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: New Back to home feature testing

Mon Aug 21, 2023 9:24 pm

Will there be an option to self-host our own relays?
You can already do that ? What's holding you back ?
All you need is a public accessible ip address.
 
gigabyte091
Forum Guru
Forum Guru
Topic Author
Posts: 1458
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: New Back to home feature testing

Mon Aug 21, 2023 10:33 pm

Oh, I see
Then I will stick to openvpn that I have used previously.
You can install 7.12beta1 and use BTH, it's working without a problem.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: New Back to home feature testing

Tue Aug 22, 2023 9:20 am

In addition to having RouterOS as the vpn server, could we all use Mikrotiks as the vpn clients?

Is there a limitation to how many clients one could setup with this?

Having a public IP on the server isn't an issue for us, but I like the simplicity of Zerotier for setup and management. I would love to have the same simplicity for Wireguard. (Having all my Zerotier clients mesh to each other over cell is not desirable.)

Will there be an option to self-host our own relays? Will there be a subscription option for those that want multiple clients?
This is what the RouterOS device is for. You could do this for many years. There is no limit. Host VPN server with as many clients as you want. MikroTik can be client, server, whatver you need. If you have a public IP, you have all the possibilities already.
 
EFN
just joined
Posts: 3
Joined: Tue Dec 19, 2023 3:18 pm

Re: New Back to home feature testing

Tue Dec 19, 2023 3:22 pm

No updates here since August... is there a specific web page we can have a link to that will show the lastest updates on BTH, i.e. which Mikrotik devices are supported, which firmware is available that supports it, etc? Thanks,
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: New Back to home feature testing

Tue Dec 19, 2023 5:06 pm

There are many updates. The BTH app is in the app store, make sure you check for updates. Changelog is shown there.

Who is online

Users browsing this forum: No registered users and 2 guests