Skip to content

launch subspace wireguard vpn server on lunanode

License

Notifications You must be signed in to change notification settings

LunaNode/launchwg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the code for subspace wireguard vpn server launcher at https://launchwg.lunanode.com

To run, simply:

	go run main.go

When a user requests to provision a VM, the webserver will read cloud-config and
replace parameters with user-specified configuration. The resulting script will
be passed as a startup script to the VM, via cloud-init.

To run using docker compose with ACME https reverse proxy:

	echo "[email protected]" > .env
	echo "LE_HOSTNAME=mydomain.lndyn.com" >> .env
	sudo docker compose up -d

It requires access to bind to ports 80 and 443 when using https reverse proxy.

Updating:

	git pull origin master
	sudo docker compose restart launcher-go

Though docker restart is not needed if only items in the static folder
are modified. If the go file or run.sh file is modified, it must be restarted.

About

launch subspace wireguard vpn server on lunanode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published