> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/getting-started/residential-proxy-by-ips/for-linux/auto-refresh-proxy.md).

# Auto Refresh Proxy

Follow these steps to configure the **Auto Refresh Proxy** feature in 9Proxy Linux.

## 1. Start 9Proxy

To start 9Proxy, enter the following command:

```
systemctl start 9proxyd
```

To ensure 9Proxy starts automatically on boot, run:

```
systemctl enable 9proxyd
```

If you enable the service, you won't need to manually start it each time.

## 2. Sign In To Your Account

Follow the instructions here to sign in.

## 3. Configure Auto Refresh Proxy

### 3.1. Set the Maximum Number of Refreshes

```
9proxy setting -c [maximum refresh times]
```

* \[maximum refresh times] : your desired limit

{% hint style="info" %}

### NOTE

Use -1 for unlimited refreshes until the IP is no longer available
{% endhint %}

### 3.2. Set the Refresh Time After a Dead IP

```
9proxy setting -t [time in seconds]
```

* \[time in seconds] : your preferred interval.

<figure><img src="https://1693667300-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuuHdu9z8IgffZvLnM2A%2Fuploads%2Fi6osSKM23EkQMHBFMK8Z%2FConfigure%20Auto%20Refresh%20Proxy.png?alt=media&amp;token=14de1adb-20b7-4d08-a3d9-eb3b4e24c06a" alt=""><figcaption></figcaption></figure>

## 4. Enable or Disable Auto Refresh

### 4.1. To Enable Auto Refresh Proxy

```
 9proxy setting -r
```

### 4.2. To Disable Auto Refresh Proxy

```
9proxy setting -n
```

<figure><img src="https://1693667300-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuuHdu9z8IgffZvLnM2A%2Fuploads%2FHzV1f359RwB2GEpY3JxW%2FEnable%20or%20Disable%20Auto%20Refresh.png?alt=media&amp;token=e8168a85-7479-44e5-a005-591c085c296f" alt=""><figcaption></figcaption></figure>
