Skip to content

Difference between -ips and -subnets in certificate creation and signing #956

Closed Answered by johnmaguire
ZelnickB asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ZelnickB -

In a host certificate, -ip is the node's IP and the CIDR within which it resides. For example, 192.168.100.1/24 will have IP 192.168.100.1 and can talk to the 192.168.100.0/24 subnet. You always need to pass this when creating a host certificate.

In a host certificate, -subnets allows a host to act as a router for the unsafe_routes feature. It can only route traffic to subnets defined in its certificate. You only need to pass this if you plan on routing traffic through a host to computers which cannot run Nebula. (For example, printers. This is different than relays which routes traffic between two Nebula nodes when direct connectivity cannot be achieved and doesn't require…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ZelnickB
Comment options

You must be logged in to vote
2 replies
@johnmaguire
Comment options

@ZelnickB
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants