RiVPN

module
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: LGPL-3.0

README

RiVPN

This is an RiV-mesh v0.4 build that re-adds tunnel routing/crypto-key routing (CKR) support. Edit section FeaturesConfig in your mesh.conf like this:

FeaturesConfig:
{
  TunnelRouting: {
    Enable: true
    IPv4RemoteSubnets: {
      "a.a.a.a/a": remotepublickey
    }
    IPv6RemoteSubnets: {
      "b::b/b": remotepublickey
    }
  }
}

Then use Go 1.18 to build and run:

go build -o mesh ./cmd/mesh
./mesh -useconffile ...

... or generate an iOS framework with:

./contrib/mobile/build -i

... or generate an Android AAR bundle with:

./contrib/mobile/build -a

The main change from the old tunnel routing/CKR support in v0.3 is that you don't need to specify source subnets. Filtering will automatically be applied based on your remote subnets, therefore you'll need to specify the correct remote subnets on both sides.

Directories

Path Synopsis
cmd
contrib
src
tun

Jump to

Keyboard shortcuts

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