NEW FEATURE: Back to Home VPN

Exactly. If you can run a relay, you basically don’t need a relay.

Why use a full relay and not STUN? Wireguard runs over UDP so hole punching should work fine with a short enough keepalive.

Our own TomJonesNorthIdaho comes to mind…

That’s actually nice part. Any peer will directly connect to the router’s WG from BTH app (or any WG client) if you have a public IP on router, automatically.

If there is not a public IP (e.g. some dual WAN that failover to LTE, or other routing change, etc.) … the nifty part is nothing in the client configuration changes, except then it traffic be proxied if the router with BTN does NOT have public IP detected.

Only requirement is using Mikrotik DDNS…since that’s critical to how this work: if you resolve the .vpn.mynetname.com address shown in winbox/CLI, you’ll can see that’s it’s your own public IP (if direct) OR a Mikrotik IP (if proxied)… Also means if your WAN IP changes, it take DNS TTL and /ip/cloud DDNS update interval for it to “switch” between proxy and direct…

So if you have public IP and BTH… the only dependency is on Mikrotik DDNS but otherwise it’s normal WG peer connection.

When using the standard Wireguard Iphone App I am able to connect.At the moment I can not find the Mikrotik BTH Iphone app in the app store (I’m living in the Netherlands)

Probably never will be supported, so, Wireguard apparently not supports MIPS architecture. Probably I’m wrong.

On past I used ZeroTier and Tailscale on Windows and Linux machines but sometimes some machines randomly lost the connection or never connects at machine’s startup. So I decided to implement Twingate on my Raspberry Pi 4 under Debian Minimal and worked really well.

A bit detail yesterday I decided to upgrade all system and stupidly reboot and now I can’t access to my devices, and now I’m not at home until this Wednesday.

I think that ends to a kernel panic probably or another boot problem, so on my windows server I will create a VM with some Linux minimal (probably CentOS Stream) to create a “copy” that can works as backup.

You know another VPN solutions? I’m also using on both sides LTE with CGNAT on both sides of course. My home core is LtAP (mmips).

Regards.

There you are wrong. Wireguard works fine on the RB750g3 Mipsel.
.
WireGuard.png

Quite true.
Hex (MMIPS) was my first Tik and the very first I used Wireguard on, already with first beta of ROS7.
Also on Map and mAP Lite (MIPSBE, 2nd and 3th Tik :laughing: ) it works just fine.

Oh, thanks for clarification Jotne and holvoetn, so, only waiting for BTH compatible with MIPS.

Regards.

Not really. I have to use LTE with public IPs, but that’s not always possible & expensive. So use SSTP as backup, but that takes another router to act as the relay (at some point could use normal WG, but still some lingering V6 devices)…


Yup, as BTH be fine a solution (in my initial testing on a remote wAPacR) for the CGNAT problem on LtAP (and KNOTs) without ZT… e.g. there are 0 devices with 2 modems in the ARM lineup… Why do you think I’ve resorted to begging here?

Since BTH is really just some UI/CLI around WG client config & another DDNS update, at least on the RouterOS side… I don’t see how BTH be an intensive feature on [CPU limited] xMIPSx platforms — at least no more so than standard WG [which is supported, as noted above].

I can see xMIPSx may not be the first platform for a beta. Just some clarity here is all I’m asking… Since I just need remote access to routers behind a CGNAT, I really don’t care if ZT or BTH+WG – different but either work behind CGNAT…

Thanks for response.

We wait…

Regards.

Similar use case to using your Relay Except closer to home.

I have a CHR in a nearby data centre, and currently use a wireguard in wireguard tunnel to get back to home (CGNAT) with e2e encryption.
It is not ideal on a number of points, but still brisk, and quite low latency.

You can already make a Wireguard connection to your CHR from the home router, and then make a Wireguard VPN from your phone to the same CHR. This way you can achieve the same result without custom “relay”.

did you try the direct link? https://apps.apple.com/lv/app/mikrotik-back-to-home/id6450679198

That did the trick.

A huge request to you, please make a video on this topic.

nice work!

I can’t open any port on my home router and always I get 10.x.x.x IP segment from my ISP. Anyway I can do that?

Regards.

not to your home. FROM your home. that’s the idea

Phone ------> [CHR server] <------- Home behind NAT

Thanks, but we need xMIPSx devices support :cry: