mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Only validate CKR routes if CKR enabled
This commit is contained in:
parent
19e6aaf9f5
commit
f0947223bb
3 changed files with 9 additions and 7 deletions
|
@ -39,7 +39,7 @@ type SessionFirewall struct {
|
|||
|
||||
// TunnelRouting contains the crypto-key routing tables for tunneling
|
||||
type TunnelRouting struct {
|
||||
Enable bool `comment:"Enable or disable tunneling."`
|
||||
IPv6Routes map[string]string `comment:"IPv6 subnets, mapped to the public keys to which they should be routed."`
|
||||
IPv6Sources []string `comment:"Allow source addresses in these subnets."`
|
||||
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."`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue