An open-source travel-router blueprint. A MikroTik hAP ax2 tunnels every device you plug into it back to your home network over WireGuard (UDP 51820 by default, configurable) — so wherever you are, you browse, stream and work with your home IP, your home DNS and your home exit. Auto-switches between wired LAN, venue Wi-Fi and phone hotspot. Formerly Hush Trips VPN.
One SSID, anywhere in the world — you land on your own home LAN.
One SSID, everywhere
Join AnchorPoint Home Network on your laptop or phone and you are on your home network — same DNS, same exit IP, same geolocation.
Firewall-friendly (optional)
Default is the standard WireGuard port UDP 51820. On a Linux home server you can run it on UDP/443 instead — indistinguishable from HTTPS, so hotel, airport and corporate firewalls that block "real" VPN ports still let it out.
Automatic uplink failover
Wired LAN if present, else venue Wi-Fi, else your phone hotspot. Priority-based, self-healing, no manual switching.
Self-hosted & open
Home end is a plain FRITZ!Box or any Linux box. No cloud VPN provider, no subscription. Every command is on GitHub under MIT.
Two networks, one tunnel
Keep home (the exit point) and travel (where the MikroTik is) separate — everything else follows.
Travel devices sit on 192.168.20.0/24, tunnel over WireGuard (UDP 51820 by default) to the home server (10.0.80.1), and exit onto the home internet line.
Home network
Travel network
Where
Your house / office
Hotel, café, airport, client site
Hardware
FRITZ!Box or Linux + WireGuard server
MikroTik hAP ax2 — WireGuard client
Role
Exit point — traffic reaches the internet here
Entry point — collects your devices
WireGuard
Listens on UDP 51820 (configurable)
Dials out to home on the server's port
Subnet
10.0.80.0/24 (tunnel), server 10.0.80.1
192.168.20.0/24, gateway 192.168.20.1
Prerequisite: a home WireGuard server
AnchorPoint consumes a WireGuard server — it does not create one. Build the home end first.
The home network is the exit point. You need a WireGuard server running at home before the travel router has anything to dial into. The easiest path is a FRITZ!Box (FRITZ!OS 7.50+ has WireGuard built in); any Linux host works too.
AFRITZ!Box WireGuard server
Open http://fritz.box → Internet → Permit Access → VPN (WireGuard) → Add connection.
Choose the custom / "specific application" option (not the guided MyFRITZ!-app one) so you can export a raw config.
Name it anchorpoint-travel-router. The box generates a key pair and a client config — download / copy it.
Note the UDP port the FRITZ!Box assigns to this connection (it is shown in the exported config) — the travel router dials exactly that. If the FRITZ!Box sits behind another modem, add a port forward UDP <that-port> → FRITZ!Box there. (Standard WireGuard is 51820; a Linux server can use 443 to look like HTTPS for restrictive firewalls.)
Set up DDNS so the travel router always finds home: Internet → MyFRITZ!-Account gives a free xxxx.myfritz.net name, or use Internet → Permit Access → DynDNS for your own provider.
Verify before you leave home. Import the client config into the WireGuard phone app over mobile data and connect, then open ifconfig.me. It must show your home IP — that proves home is the exit point.
Prefer a Raspberry Pi / mini-PC / VPS? Run WireGuard on ListenPort = 51820 (or 443 if you want it to look like HTTPS for restrictive firewalls), masquerade the tunnel out to the internet, forward that UDP port on the router in front of it, and add DDNS. Full server snippet is in the repo at config/wireguard-client.conf.example.
Travel router: MikroTik hAP ax2
Configure in WinBox → New Terminal. Paste in order; replace every <PLACEHOLDER>.
1Time & timezone (WireGuard needs a correct clock)
The import creates interface wg1. AllowedIPs = 0.0.0.0/0 is a full tunnel — that is what makes home the exit point. Endpoint … :<port> dials the home server's WireGuard port. On a Linux server set it to 443 so it looks like HTTPS and restrictive venue firewalls allow it.
3Travel LAN 192.168.20.0/24, routed through the tunnel
# dedicated VPN bridge on ether2
/interface bridge port remove [find interface=ether2]
/interface bridge add name=bridge-vpn
/interface bridge port add bridge=bridge-vpn interface=ether2
/ip address add address=192.168.20.1/24 interface=bridge-vpn
# policy route: whole travel LAN exits via the tunnel
/routing table add name=to-vpn fib
/ip route add dst-address=0.0.0.0/0 gateway=wg1 routing-table=to-vpn
/routing rule add src-address=192.168.20.0/24 action=lookup-only-in-table table=to-vpn
/ip firewall nat add action=masquerade chain=srcnat out-interface=wg1
# DHCP for your devices, DNS pointed at home (no DNS leak)
/ip pool add name=vpn-pool ranges=192.168.20.10-192.168.20.100
/ip dhcp-server add address-pool=vpn-pool interface=bridge-vpn name=dhcp-vpn
/ip dhcp-server network add address=192.168.20.0/24 dns-server=10.0.80.1 gateway=192.168.20.1
4MTU / MSS — prevents "connects but nothing loads"
The 5 GHz radio (wifi1) broadcasts your home network. The 2.4 GHz radio (wifi2) is reserved as the uplink radio for venue Wi-Fi / hotspot below. (Use both radios for the home SSID only when your uplink is the wired ether1 port.)
Uplink failover: LAN → Wi-Fi → Hotspot
The router keeps the highest-priority uplink that has working internet — and heals itself.
Priority: wired LAN (ether1) → venue Wi-Fi (wifi2) → phone hotspot (wifi2). Wired always wins when a cable is present.
The failover scripts (Switch-To-Venue, Switch-To-Hotspot), the WAN-Watchdog netwatch and the 15-minute Probe-Venue scheduler are in the repo file config/mikrotik-uplink-failover.rsc. To change hotels: /interface wifi configuration set wifi-cfg-venue ssid="<NEW_SSID>" then /system/script/run Switch-To-Venue.
Ports used — home vs. travel
Home exposes exactly one inbound port; travel needs exactly one outbound port.
Home network (WireGuard server — exit point)
Port
Proto
Direction
Purpose
51820
UDP
Inbound (internet → server)
WireGuard listener (configurable) — port-forward this to the server. The only inbound port. Set 443 on a Linux server to look like HTTPS for restrictive firewalls.
53
UDP/TCP
Internal
DNS resolver (10.0.80.1) that tunnel clients use. Stays on the LAN.
123
UDP
Outbound
NTP time sync.
—
DDNS
Outbound
Hostname (e.g. myfritz.net) tracking the changing home IP.
Travel network (MikroTik hAP ax2 — client)
Port
Proto
Direction
Purpose
51820
UDP
Outbound (router → home)
The only port the tunnel needs. Dials the home server's WireGuard port (51820 by default). Use 443 on a Linux server to survive restrictive venue/corporate firewalls.
67 / 68
UDP
Both
DHCP — client on the uplinks (ether1, wifi2); server on bridge-vpn handing out 192.168.20.x.
53
UDP/TCP
Internal → tunnel
DNS from your devices, forwarded to home's resolver. Does not leak to the venue.
123
UDP
Outbound
NTP — correct time is mandatory or the WireGuard handshake fails.
In one line: home opens only its WireGuard UDP port inbound; travel needs only that one UDP port outbound. Both 10.0.80.0/24 (tunnel) and 192.168.20.0/24 (travel LAN) stay private and are never reachable from the venue.
Second mode: site-to-site link
Two fixed locations, each the other's gateway and internet exit — config-driven and leak-proof.
Same WireGuard foundation, a different shape. Instead of one roaming router dialing home, you join two of your own sites with a single tunnel so each can exit through the other. Plug into a port — or join a Wi-Fi SSID — at site A and you browse as if you were at site B, and vice versa. You describe the two sites in one small YAML file; a generator renders the complete, reproducible RouterOS config for both ends, with every key and password encrypted and never committed.
Recent additions: per-site Wi-Fi WAN failover is now active/standby — the backup comes up only when the wired cable drops, so it never collides with the primary (safe even on the same router). The tunnel MTU defaults to 1412 (fits PPPoE/DSL and fibre), and on-box management is pinned to the LAN side.
Each site: local devices (ether3–5 + its own Wi-Fi) use that site's own WAN; exit traffic (ether2 + the other site's Wi-Fi SSID) tunnels out at the far site. Leak-proof (fail-closed) — if the tunnel drops, exit traffic is dropped, never leaked.
Both-way exit
Each site is a gateway and an exit for the other. Join AnchorPoint-<site> at one location to browse from the other country.
Leak-proof (fail-closed)
Each exit subnet is policy-routed into its tunnel with lookup-only-in-table — no fallback to the local WAN. Tunnel down ⇒ dropped, never leaked.
Config-driven
One inventory → gen-mesh-secrets.py (encrypted keys + passwords) → render-mesh.py renders both ends. Validated on RouterOS CHR 7.20.8.
Self-healing
A per-tunnel netwatch watchdog escalates by priority — first re-sync the clock (NTP), then restart the tunnel if it is still down.
Test clients (iPhone + MacBook)
Each site also serves a couple of roaming WireGuard clients on wg-clients — dial in from your iPhone or MacBook and you exit at that site, so you can verify each location end-to-end.
Wi-Fi WAN failover (active/standby)
Give a site a Wi-Fi backup uplink and it stays online if the wired ether1 drops. Active/standby — the backup is raised only while the cable is down, so the two WANs never collide: safe even when the backup is the same router's Wi-Fi.
DSL-ready & hardened
Tunnel MTU defaults to 1412 — fits PPPoE/DSL (FRITZ!Box) and fibre, so large pages never hang. MAC-Telnet, WinBox-over-MAC and neighbour discovery are pinned to the LAN side; FastTrack stays off so the leak-proof routing holds.
The full config-driven workflow — inventory, generator, templates and example output — is in the repo: github.com/alex-xpertone/anchorpoint (inventory/example.yaml, docs/ONBOARDING.md).