> For the complete documentation index, see [llms.txt](https://docs-servers.zesty.group/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-servers.zesty.group/security/rdphelper/setup-2fa-totp.md).

# Setup 2FA (TOTP)

Go to the **Settings** page of RDPHelper by clicking on the Settings tab on the left side.

<figure><img src="/files/PGk8npdCX8uUPUKvRAV3" alt=""><figcaption></figcaption></figure>

Thereafter, click the **Start Setup** button in the middle of the screen.

<figure><img src="/files/eVQEtKeIpjjbCtfMzNsQ" alt=""><figcaption></figcaption></figure>

You will be shown a QR code, scan this QR code with your device.&#x20;

<figure><img src="/files/DulP4lPCqO9jYSFhP3GX" alt=""><figcaption></figcaption></figure>

We will be using Google Authenticator for this guide.

<div><figure><img src="/files/lMUPPhdknLOyDS6RB3tT" alt=""><figcaption></figcaption></figure> <figure><img src="/files/Je1xcxjJjUhVOTLAXkpy" alt=""><figcaption></figcaption></figure></div>

Once you've scanned the QR code to your device, click on the Next button. RDPHelper will then ask you to **verify** using the code from your 2FA TOTP app.

<figure><img src="/files/R98zDeMjyfMl6GAdeqfw" alt=""><figcaption></figcaption></figure>

Once you click Verify, RDPHelper will show you a backup code. Please note down this backup code somewhere safe in case you lose access to the TOTP codes.&#x20;

<figure><img src="/files/5CmObWevK6yANDCDFbCG" alt=""><figcaption></figcaption></figure>

We would recommend disabling 2FA for whitelisted IP addresses, so you don't have to input a code each time you login from your home IP.

<figure><img src="/files/6bh3Q7m4lJ5Dzybon2NC" alt=""><figcaption></figcaption></figure>

Now when you try to connect to your server with a non-whitelisted IP, you will be greeted with a 2FA screen asking you to authenticate yourself.

<figure><img src="/files/2WqmIQlkldnDBFdRo8Uu" alt=""><figcaption></figcaption></figure>
