mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2024-12-26 07:38:48 +01:00
Layer2 version of wireguard with Floyd Warshall implement in go.
.vscode | ||
config | ||
conn | ||
device | ||
example_config | ||
ipc | ||
orderdmap | ||
path | ||
ratelimiter | ||
replay | ||
rwcancel | ||
tai64n | ||
tap | ||
.gitignore | ||
go.mod | ||
govpp_remove_crcstring_check.patch | ||
LICENSE | ||
main_edge.go | ||
main_httpserver.go | ||
main_super.go | ||
main.go | ||
Makefile | ||
README.md | ||
version.go |
Requirement
Install VPP and Go
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 -
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
export CGO_CFLAGS="-I/usr/include/memif"
make