EtherGuard-VPN/README.md

16 lines
518 B
Markdown
Raw Normal View History

2021-08-25 15:21:26 +02:00
### Requirement
Install VPP and Go
```bash
2021-08-23 21:11:01 +02:00
echo "deb [trusted=yes] https://packagecloud.io/fdio/release/ubuntu focal main" > /etc/apt/sources.list.d/99fd.io.list
curl -L https://packagecloud.io/fdio/release/gpgkey | sudo apt-key add -
2021-08-25 15:21:26 +02:00
add-apt-repository ppa:longsleep/golang-backports
apt-get -y update
apt-get install vpp vpp-plugin-core python3-vpp-api vpp-dbg vpp-dev libmemif libmemif-dev wireguard-tools golang-go build-essential golang-go
```
### Build
```bash
2021-08-23 21:11:01 +02:00
export CGO_CFLAGS="-I/usr/include/memif"
make
```