WIP: Simple working client/server

This commit is contained in:
jdl
2024-12-16 20:51:30 +01:00
parent b4a6149cee
commit 62bf956c10
44 changed files with 1841 additions and 0 deletions

6
stage2/cmd/server/build.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
go build
scp server kevin:/home/jdl/tmp/
ssh root@kevin "sudo setcap cap_net_admin+iep /home/jdl/tmp/server"
ssh kevin "/home/jdl/tmp/server"

View File

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