vpn route

Defines a route to announce to Island VPN peers.

Syntax

[no] vpn route [<address/bits>]

Syntax Description

Keyword
Description

no

(Optional) Removes the specified route announcement, or all configured route announcements if no route is specified.

address

The IPv4 or IPv6 network address to be announed to peers. Required unless no is specified.

bits

The network prefix length of the route.

Defaults

Island announces all local LAN networks to VPN peers by default.

Usage Guidelines

Island provides an extention to the WireGuard protocol to announce a set of routes to peers. By default, Island will announce all local LAN networks to a peer. If this command is specified, it will override the default announcements. Therefore, all desired routes must be included, including local networks.

This command has no effect on non-Island peers.

Examples

vpn route 172.1.32.0/22
vpn route fd09::/16

Last updated