Help us shape the future of Go! Take the 2026 Go Developer Survey

vpn-server

command
v1.3.101 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

README

Skywire VPN server app

vpn-server app implements VPN functionality over skywire net.

Currently the server supports authentication with a passcode that is set in the configuration file. If none is provided, the server does not require authentication.

NOTE: in contrast with the proxy apps, VPN server and client must be run on different machines because of the networking features.

Configuration

Additional arguments may be passed to the application via args array. These are:

  • -passcode - passcode to authenticate incoming connections. Optional, may be omitted.

Full config of the server should look like this:

{
  "app": "vpn-server",
  "auto_start": true,
  "port": 44,
  "args": [
    "-passcode",
    "1234"
  ]
}

Running app

Compile app binary and start a visor:

$ go build -o ./build/apps/vpn-server ./cmd/apps/vpn-server
$ cd ./build
$ ./skywire-visor skywire-config.json

Documentation

Overview

Package main cmd/apps/vpn-server/vpn-server.go c4-app-vpn

Directories

Path Synopsis
Package commands cmd/apps/vpn-server/commands/vpn-server.go c4-app-vpn
Package commands cmd/apps/vpn-server/commands/vpn-server.go c4-app-vpn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL