How-to Guides¶
How-to guides are recipes. Each one takes you through the steps to reach one specific goal, assuming you already know WireGuard and OpenWrt.
Operators¶
Roughly in the order you will need them:
- Preparing the WireGuard Substrate - How to set up
wg_hub,wg_meshand the hub's forwarding. - Opening the Firewall for wgpathd - How to add the traffic rules each role needs, and confirm them with the check. Before upgrading from release 5 or earlier too.
- Installing wgpathd - How to build, install and upgrade the package.
- Upgrading Peer Settings from Earlier Releases - How to check, or do by hand, the move of peer settings out of
/etc/config/network. - Configuring the Hub - How to publish discovery from the hub.
- Configuring a Spoke - How to run a spoke in observe mode and check the relay path.
- Moving a Spoke from Observe to Steer - How to let wgpathd move peers to direct paths.
- Applying Configuration Changes - How to check and reload a changed configuration, and when to restart instead.
- Tuning Timing Parameters - How to change how fast wgpathd falls back and returns.
- Configuring Mesh Paths in LuCI - How to set the role, the steered peers and the timing on the LuCI settings page, checked before it applies.
- Checking Mesh Paths in LuCI - How to see which path each peer uses, and why, on the LuCI status pages.
- Inspecting Status and Troubleshooting - How to go from a symptom to its cause.
- Removing wgpathd - How to uninstall and leave the mesh in a known state.
Developers¶
- Running Tests - How to run all tests, one suite, one file or a filtered subset.
- Building the Package - How to build and check the
.apk. - Publishing to the Package Feed - How a tagged release reaches the packages.ucode.dev feed.
- Writing Documentation - How to preview, build and place documentation pages.
Publishing the Documentation¶
- Setting Up Publishing - How to make the first release publish the versioned site, once.
- Publishing a New Minor Release - How to publish
/X.Y/, movelatestand start the docs branch. - Publishing a Patch Release - How to republish a minor from a patch tag and move its docs branch.
- Fixing the Released Docs - How to get a docs fix onto the published version, and what to do when the guard refuses.
- Republishing a Version - How to rerun a failed or lost publish by hand.