Skip to content

nettica-com/nettica-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nettica-client

Nettica control plane for WireGuard

A WireGuard control plane

Requirements

  • Golang 1.21.3+
  • Docker (optional)
  • Windows SDK (optional - for code signing - signtool.exe)

Build

go get
env CGO_ENABLED=0 go build

Build for Debian Linux distributions

./build.sh 1.0.0 [ amd64 | arm64 | armhf]
# Builds all three platforms if not specified

Usage Linux

systemctl enable nettica
systemctl start nettica
systemctl stop nettica

Build for Windows

There is no stand-alone installer for Windows. The binary is installed with the Nettica Agent for Windows. Production usage requires the code to the signed.

build.cmd 1.0.0

Usage for Windows

nettica-client.exe install
nettica-client.exe start
nettica-client.exe stop
nettica-client.exe remove

net start nettica
net stop nettica

Build for Fedora (RPM) Linux distributions

./buildrpm.sh 1.0.0 [ x86_64 | aarch64 ]
# Builds both platforms if not specified

Build Docker image

Nettica uses an Alpine base and is about 40MB

sudo docker build . --no-cache
sudo docker images
sudo docker tag xxx nettica-client:latest

docker_buildx.cmd 1.0.0 [latest]
# cross compiles linux amd64, arm64, and armv7 and pushes to docker as a multi-platform image

Notes

  • Building for Linux requires additional packages be installed to build debian or RPM packages. Installing them are self-explanatory from the errors.
  • Building for Linux can cross-compile for 32-bit ARM (armhf/arm7l), 64-bit ARM (arm64), and Intel/AMD X86-64 (amd64)
  • Packaging for ARM64 RPM requires an aarch64 host

Need Help

mailto:[email protected]

License

  • Released under MIT License

WireGuard® is a registered trademark of Jason A. Donenfeld.

Releases

No releases published

Packages

No packages published

Languages