# vpn port

## Syntax

```
[no] vpn port <n>
```

## Syntax Description

<table><thead><tr><th width="203">Keyword</th><th>Description</th></tr></thead><tbody><tr><td><code>no</code></td><td>(Optional) Use the default WireGuard UDP port number.</td></tr><tr><td>n</td><td>The desired UDP port number in the range 1-65535.</td></tr></tbody></table>

## Defaults

The default WireGuard UDP port number is 51820

## Usage Guidelines

This command sets the UDP port number on which Island will listen for incoming WireGuard connections.

## Examples

```
vpn port 30719
```

## Related Commands
