Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelangel-nubla committed Jul 25, 2019
1 parent 9c33640 commit 2cd01ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -21,15 +21,15 @@ wget https://github.com/miguelangel-nubla/WireGuard-CoreOS/releases/download/lat
jq '.value.images += [{ "name": "WireGuard", "reference": "'CoreOS_${VERSION_ID}'" }]' /usr/share/torcx/profiles/vendor.json > /etc/torcx/profiles/wg.json
```
* `echo wg > /etc/torcx/next-profile`
* Reboot. WireGuard should be available in `/run/torcx/bin/wg`
* Load kernel modules
* Reboot. WireGuard should be available in `/run/torcx/bin/wg`. Installation is done.
* After each reboot and before using wireguard you should load the required kernel modules:
```
source /run/metadata/torcx
/sbin/modprobe ip6_udp_tunnel
/sbin/modprobe udp_tunnel
/sbin/insmod ${TORCX_UNPACKDIR}/WireGuard/lib/modules/$(uname -r)/extra/wireguard.ko
```
* Done. Load you config with `/run/torcx/bin/wg-quick`
* Load you config with `/run/torcx/bin/wg-quick`

## How to handle CoreOS updates
The `/etc/wireguard-setup` script at [the example Container Linux Config](container_linux_config.yml) will try to fetch the torcx package for the new CoreOS version.
Expand Down

0 comments on commit 2cd01ec

Please sign in to comment.