Checkout
Christoph Fritsch
committed
on 28 Dec 20
FFL-2536: WireGuard - fix errors regarding routed networks and WireGuard
allowed IPs in client and server configurations.

In the previous v… Show more
FFL-2536: WireGuard - fix errors regarding routed networks and WireGuard

allowed IPs in client and server configurations.

In the previous version both have not been proberly separated with previous

config parameters

- WIREGUARD_x_PEER_x_ROUTE_N

- WIREGUARD_x_PEER_x_ROUTE_x

This version replaces thses config options to allow for proper configuration

of networks behind some peers and allowed IPs to accept from peers. New

parameters introduced for configuration across all peers are

+ WIREGUARD_x_DEFAULT_ALLOWED_IPS_N

+ WIREGUARD_x_DEFAULT_ALLOWED_IPS_x

For peer-specific configuration two new parameters are introduced

+ WIREGUARD_x_PEER_x_ALLOWED_IPS_N

+ WIREGUARD_x_PEER_x_ALLOWED_IPS_x

and existing parameters renamed to make it more clear

+ WIREGUARD_x_PEER_x_ROUTE_TO_N

+ WIREGUARD_x_PEER_x_ROUTE_TO_x

Show less