gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.4k stars 547 forks source link

Wrong mask in network interface on Linux #423

Closed restanrm closed 2 years ago

restanrm commented 2 years ago

If the mask of the network in Netmaker isn't /24, the mask is wrongly defined. The value is currently hardcoded in https://github.com/gravitl/netmaker/blob/34915cb50bde91968b740fb4d1a463993da24c1a/netclient/wireguard/kernel.go#L18

afeiszli commented 2 years ago

I believe we'll be working on fixing this in the next 1-2 releases.

mattkasun commented 2 years ago

PR #723