You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,22 +58,24 @@ Keep in mind that:
58
58
59
59
Create or update a node in two or three steps:
60
60
61
-
1. Either install the [package](https://github.com/ipitio/closure/releases) directly (by piping `https://ipitio.github.io/closure/i` to bash, which runs the following)...
61
+
1. Install the package by either
62
+
- piping `https://ipitio.github.io/closure/i` to bash,
63
+
- downloading it from [Releases](https://github.com/ipitio/closure/releases),
64
+
- running the following commands, or
65
+
- copying this repo to `/opt/closure` and ensuring `rc.local` is executable and moved to `/etc`.
...Or copy this repo to `/opt/closure` on the target, ensuring `rc.local` is executable and moved to `/etc`. The package will be installed after the next step.
76
-
77
79
2. Edit the files above and reboot. This boot, as well as those after upgrading, may take a while as everything is set up, but the subsequent ones will be much faster.
78
80
3. On a Hub or HaaS, add a Spoke or SaaH peer by running `add.sh` (as described below). Then, for a SaaH, add an `SERVER_ALLOWEDIPS_PEER_[SaaH]=` environment variable -- using the peer's name sans the brackets -- for the wireguard service with the difference of `0.0.0.0/1,128.0.0.0/1,::/1,8000::/1` and the peer's IP, and run `sudo bash restart.sh`. This [AllowedIPs Calculator](https://www.procustodibus.com/blog/2021/03/wireguard-allowedips-calculator) is pretty nifty. Follow a similar process for a Spoke, if needed.
0 commit comments