# How to set up a VPN on a DD-WRT router

> Configure a PPTP VPN connection on a DD-WRT router, then connect to your VPN provider from the WAN status page.

This guide shows how to set up a **Point-to-Point Tunneling Protocol (PPTP)** VPN connection on a wireless DD-WRT router.

## Before you start

You need a working internet connection, a router that supports PPTP, and a VPN account.

A VPN connection does not work on an ISP modem. To make the VPN connection work, connect the DD-WRT router to the modem.

## Set up the VPN on the router

1. Connect the router to your computer with an Ethernet cable, or connect to the router over wireless. The diagram shows option 1a for Ethernet and option 1b for wireless.

   ![Diagram of the Ethernet and wireless connections between a modem, a DD-WRT router, and a computer](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-setup-VPN-on-a-DD-WRT-router-1.png)

2. Open the **Basic Setup** tab. From the **Connection Type** drop-down menu, select **PPTP**.

   ![DD-WRT Basic Setup page with PPTP selected in the Connection Type menu](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-setup-VPN-on-a-DD-WRT-router-2.png)

3. Under **Use DHCP**, select **Yes**.

   ![DD-WRT Basic Setup page with Use DHCP set to Yes](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-setup-VPN-on-a-DD-WRT-router-3.png)

4. In **Gateway (PPTP Server)**, enter the server name from your VPN provider.

5. Enter your **Username** and **Password** in the matching fields.

6. In **Additional PPTP Options**, enter `refuse-eap`.

   ![DD-WRT PPTP fields with Gateway, Username, Password, and Additional PPTP Options highlighted](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-setup-VPN-on-a-DD-WRT-router-4.png)

7. Go to the **DHCP Server** section and make sure it is **Enabled**.

   ![DD-WRT DHCP Server section with Enable selected and the Apply Settings button highlighted](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-setup-VPN-on-a-DD-WRT-router-5.png)

8. Click **Apply Settings**.
9. Click **Save**.
10. In the menu bar, select **Status**, then select the **WAN** tab.
11. Click **Connect** to connect to your VPN provider.

    ![DD-WRT Status WAN page with the Connect button highlighted](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-setup-VPN-on-a-DD-WRT-router-6.png)
