Doorma Client Side Setup Guide

Step 1: Get Your Local IP Address

Open Command Prompt as Administrator:

Run Command: ipconfig

Copy the IPv4 Address: //255.255.255.0//

Step 2: Get Your Public IP Address

Run Command: nslookup myip.opendns.com resolver1.opendns.com

Copy the Address: //59.144.161.102//

Step 3: Set Up Port Forwarding Using netsh

Run Command:

netsh interface portproxy add v4tov4 listenport=443 listenaddress=59.144.161.102 connectport=443 connectaddress=255.255.255.0

(Replace the IP addresses in the above command with your own.)

Step 4: Verify the Port Forwarding Rule

Run Command: netsh interface portproxy show all

Step 5: Download Doorlock Zip

Download the doorlock zip file from your source.

Step 6: Install Node.js

Click on node-v16.16.0-x86 and complete the full installation steps.

Step 7: Configure the .env File

Open the .env file and set the DOORMAPATH with double backslashes (\\) as an example:

Step 8: Update .run-server-and-npm

Open .run-server-and-npm and update the file path to where you downloaded and unzipped doorlock.

Step 9: Run Server and NPM

Run run-server-and-npm. If anything fails, proceed to optional Step 10.

Step 10 (Optional): Enable PowerShell Remoting

Open PowerShell and run the following command:

Enable-PSRemoting

After running the command, close the Command Prompt and repeat Step 9.