---
title: 'Tutorial: Reset OpenVPN Web Services and Daemons to Default Settings'
canonical: https://openvpn.net/as-docs/tutorials/tutorial--reset-web-services-and-daemons/
product: Access Server Docs
description: How to reset the web services and daemons for Access Server to the default settings.
---

# Tutorial: Reset OpenVPN Web Services and Daemons to Default Settings

## Overview

This tutorial guides you through resetting Access Server's web services and daemons to their default settings. This is useful for resolving configuration issues that may lock you out of your web services or restoring an Access Server backup configuration from one system to another with different interface names.

## Prerequisites

- An installed Access Server.
- Console access and the ability to get root access.

## Step 1: Reset the web services and daemons to the default settings

1. Connect to the console and get root privileges.
2. Switch to the scripts directory:

   ```
   cd /usr/local/openvpn_as/scripts/
   ```
3. Run these commands to reset the interface names to "all" and restore the default ports:

   ```
   ./sacli --key "admin_ui.https.ip_address" --value "all" ConfigPut
   ./sacli --key "admin_ui.https.port" --value "943" ConfigPut
   ./sacli --key "cs.https.ip_address" --value "all" ConfigPut
   ./sacli --key "cs.https.port" --value "943" ConfigPut
   ./sacli --key "ssl_api.local_addr" --value "all" ConfigPut
   ./sacli --key "ssl_api.local_port" --value "945" ConfigPut
   ./sacli --key "vpn.server.port_share.enable" --value "true" ConfigPut
   ./sacli --key "vpn.server.port_share.service" --value "admin+client" ConfigPut
   ./sacli --key "vpn.daemon.0.server.ip_address" --value "all" ConfigPut
   ./sacli --key "vpn.daemon.0.listen.ip_address" --value "all" ConfigPut
   ./sacli --key "vpn.server.daemon.udp.port" --value "1194" ConfigPut
   ./sacli --key "vpn.server.daemon.tcp.port" --value "443" ConfigPut
   ./sacli start
   ```

You've now reset your Access Server's web services and daemons to their default settings. This can help restore access and resolve configuration issues.

> **Tip**
>
> You can replace `"all` with specific IP addresses if you want to bind services to a particular interface.

---

Prev: [Tutorial: Reset Multi-Daemon Mode and Number of TCP/UDP Daemons](https://openvpn.net/as-docs/tutorials/tutorial--reset-multi-daemon-and-tcp-udp-daemons.md)
Next: [System and Function Customization](https://openvpn.net/as-docs/tutorials/system-and-function-customization.md)
Index: https://openvpn.net/as-docs/llms.txt
