# vpn server auto-trust

## Syntax

```
[no] vpn server auto-trust [off|on]
```

## Syntax Description

<table><thead><tr><th width="203">Keyword</th><th>Description</th></tr></thead><tbody><tr><td><code>no</code></td><td>(Optional) Resets auto-trust to its default value.</td></tr><tr><td><code>off</code></td><td>Disables auto-trust. Either <code>off</code> or <code>on</code> is required unless <code>no</code> is specified.</td></tr><tr><td><code>on</code></td><td>Enables auto-trust. Either <code>off</code> or <code>on</code> is required unless <code>no</code> is specified.</td></tr></tbody></table>

## Defaults

IslandExpress auto-trust is disabled by default.

## Usage Guidelines

When a VPN is created by IslandExpress, its status is set to "unapproved" by default. The VPN is disabled until the unapproved status is removed manually using [no vpn peer unapproved](https://docs.islandrouter.com/island-router-cli-2.3.2/commands/vpn-peer/vpn-peer-unapproved). This provides a safeguard in case the IslandExpress shared secret (see [vpn server secret](https://docs.islandrouter.com/island-router-cli-2.3.2/commands/vpn-server/vpn-server-secret)) is compromised.

If auto-trust is set to `on`, VPNs created by IslandExpress are enabled immediately. **This should be used with caution since anyone with knowledge of the IslandExpress shared secret can establish a working VPN connection to the Island.**

## Examples

```
vpn server auto-trust on
```

## Related Commands

{% content-ref url="../vpn-peer/vpn-peer-unapproved" %}
[vpn-peer-unapproved](https://docs.islandrouter.com/island-router-cli-2.3.2/commands/vpn-peer/vpn-peer-unapproved)
{% endcontent-ref %}

{% content-ref url="vpn-server-secret" %}
[vpn-server-secret](https://docs.islandrouter.com/island-router-cli-2.3.2/commands/vpn-server/vpn-server-secret)
{% endcontent-ref %}
