Add link to binaries
This commit is contained in:
parent
8c50f8412a
commit
1012577b9c
2
Makefile
2
Makefile
@ -6,4 +6,4 @@ ip46tables: ip46tables.d/ip46tables.c
|
||||
gcc ip46tables.d/ip46tables.c -o ip46tables
|
||||
|
||||
reaction: app/* reaction.go go.mod go.sum
|
||||
go build .
|
||||
go build -buildvcs=false .
|
||||
|
@ -137,6 +137,10 @@ If you don't know where to start reaction, `/var/lib/reaction` should be a sane
|
||||
It permits to configure `iptables` and `ip6tables` at the same time.
|
||||
It will execute `iptables` when detecting ipv4, `ip6tables` when detecting ipv6 and both if no ip address is present on the command line.
|
||||
|
||||
### Binaries
|
||||
|
||||
Executables are provided [here](https://u.ppom.me/reaction/releases/), for a standard x86-64 linux machine.
|
||||
|
||||
### Compilation
|
||||
|
||||
You'll need the go toolchain for reaction and a c compiler for ip46tables.
|
||||
@ -152,6 +156,11 @@ $ go build .
|
||||
$ gcc ip46tables.d/ip46tables.c -o ip46tables
|
||||
```
|
||||
|
||||
Provided binaries in the previous section are compiled this way:
|
||||
```shell
|
||||
$ docker run -it --rm -v (pwd):/code -w /code golang:1.20 make
|
||||
```
|
||||
|
||||
### NixOS
|
||||
|
||||
- [ package ](https://framagit.org/ppom/nixos/-/blob/main/pkgs/reaction/default.nix)
|
||||
|
Loading…
Reference in New Issue
Block a user