4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-16 08:56:07 +00:00

Support IPv4 in ckr.go

This commit is contained in:
Neil Alexander
2018-11-06 20:04:49 +00:00
parent cb7a5f17d9
commit 424faa1c51
4 changed files with 113 additions and 67 deletions

View File

@ -42,4 +42,6 @@ type TunnelRouting struct {
Enable bool `comment:"Enable or disable tunneling."`
IPv6Destinations map[string]string `comment:"IPv6 subnets, mapped to the EncryptionPublicKey to which they should\nbe routed to."`
IPv6Sources []string `comment:"Optional IPv6 subnets which are allowed to be used as source addresses\nin addition to this node's Yggdrasil address/subnet."`
IPv4Destinations map[string]string `comment:"IPv4 subnets, mapped to the EncryptionPublicKey to which they should\nbe routed to."`
IPv4Sources []string `comment:"Optional IPv4 subnets which are allowed to be used as source addresses."`
}