This commit is contained in:
jdl
2024-12-08 09:45:29 +01:00
parent 55a9bf9dc3
commit 03ff1aac80
60 changed files with 3165 additions and 2 deletions

7
cmd/hub/main.go Normal file
View File

@@ -0,0 +1,7 @@
package main
import "vppn/hub"
func main() {
hub.Main()
}

4
cmd/vppn/build.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
go build
sudo setcap cap_net_admin+iep vppn

11
cmd/vppn/main.go Normal file
View File

@@ -0,0 +1,11 @@
package main
import (
"log"
"vppn/peer"
)
func main() {
log.SetFlags(0)
peer.Main()
}