This guide walks you through how to get Foscam to use DuckDNS, enabling secure remote viewing of your camera without needing a static IP address. You’ll learn to set up DuckDNS, configure your Foscam camera, and troubleshoot common issues.
Key Takeaways
- DuckDNS simplifies remote access: It provides a free, dynamic DNS service that updates your changing IP automatically, so you can always reach your Foscam camera.
- No static IP required: Most home internet connections use dynamic IPs, but DuckDNS keeps your domain updated even when your IP changes.
- Works with most Foscam models: This method supports popular Foscam cameras like the FI9800P, FI9821W, and R2/R4 series.
- Requires port forwarding: You must forward ports on your router to allow external access to your Foscam camera.
- Use HTTPS for security: Always access your camera via HTTPS to protect your video feed from eavesdropping.
- Test after setup: Verify remote access using a mobile device or external network to ensure everything works correctly.
- Keep DuckDNS updated: Use a script or router plugin to ensure your DuckDNS domain stays synced with your current IP.
Introduction: Why Use DuckDNS with Foscam?
If you own a Foscam security camera, you know how convenient it is to check in on your home or office remotely. But to access your camera from outside your local network—like when you’re at work or on vacation—you need a way to reach it over the internet. That’s where DuckDNS comes in.
Most home internet connections use a dynamic IP address, which means your public IP can change every few days or weeks. Without a static IP (which often costs extra), you can’t reliably connect to your Foscam camera remotely. DuckDNS solves this by giving you a free, easy-to-remember domain name (like yourhome.duckdns.org) that automatically updates whenever your IP changes.
In this guide, we’ll walk you through how to get Foscam to use DuckDNS step by step. You’ll learn how to create a DuckDNS account, configure your Foscam camera, set up port forwarding on your router, and test remote access. We’ll also cover troubleshooting tips and best practices to keep your camera secure.
By the end, you’ll be able to view your Foscam camera from anywhere using a simple web address—no technical expertise required.
What You’ll Need Before You Start
Visual guide about How to Get Foscam to Use Duckdns
Image source: foscam.com
Before diving into the setup, make sure you have the following:
- A Foscam IP camera: Compatible models include the FI9800P, FI9821W, R2, R4, and most newer Wi-Fi or Ethernet-enabled Foscam cameras.
- A router with admin access: You’ll need to log in to your router to set up port forwarding.
- An internet connection: Both your Foscam camera and computer should be connected to the same network during setup.
- A device to access the Foscam web interface: This can be a computer, smartphone, or tablet.
- A DuckDNS account: We’ll show you how to create one for free.
It’s also helpful to have your Foscam camera’s IP address and login credentials (username and password) handy. You can usually find the IP address in your router’s connected devices list or by using the Foscam Finder tool.
Step 1: Create a DuckDNS Account and Domain
The first step in getting Foscam to use DuckDNS is setting up your free DuckDNS domain.
Visit the DuckDNS Website
Go to duckdns.org in your web browser. The site is simple and ad-free, making it easy to navigate.
Log In with a Supported Provider
DuckDNS supports login via Google, GitHub, Twitter, or email. Click on your preferred option and follow the prompts to authenticate. For example, if you choose Google, you’ll be redirected to Google’s login page. Once logged in, you’ll return to DuckDNS.
Create Your Domain
After logging in, you’ll see a list of available domain extensions (like .duckdns.org). Choose one and enter a name you’d like to use. For example, myfoscam would become myfoscam.duckdns.org.
Click “Add Domain” to claim it. You can create up to five domains for free.
Save Your Token
Once your domain is created, DuckDNS will display a unique token. This is a secret code that allows your device (like your Foscam camera or router) to update the domain with your current IP address.
Copy this token and save it somewhere safe—you’ll need it later.
Test Your Domain
Open a new browser tab and type in your new domain (e.g., http://myfoscam.duckdns.org). If it resolves to your public IP address, DuckDNS is working correctly.
Tip: You can check your public IP by searching “what is my IP” in Google. Compare it to what DuckDNS shows.
Step 2: Find Your Foscam Camera’s IP Address
Before configuring DuckDNS, you need to know your Foscam camera’s local IP address.
Use the Foscam Finder Tool
Download and install the Foscam Finder software from the official Foscam website. This tool scans your network and lists all connected Foscam devices.
Open the app, and it will display your camera’s IP address, model, and MAC address.
Check Your Router’s Admin Page
Alternatively, log in to your router’s admin interface (usually by typing 192.168.1.1 or 192.168.0.1 in your browser). Look for a section like “Connected Devices” or “DHCP Client List.” Find your Foscam camera by its name or MAC address and note its IP.
Example: Your Foscam might have an IP like 192.168.1.105.
Set a Static IP (Recommended)
To prevent your Foscam’s IP from changing (which would break port forwarding), assign it a static IP. You can do this in two ways:
- Via the Foscam web interface: Log in to your camera’s settings (e.g.,
http://192.168.1.105), go to Network > LAN Settings, and disable DHCP. Enter a static IP outside your router’s DHCP range (e.g.,192.168.1.200). - Via router DHCP reservation: In your router settings, reserve the Foscam’s current IP based on its MAC address. This ensures it always gets the same IP.
We recommend using DHCP reservation—it’s easier and less error-prone.
Step 3: Configure Port Forwarding on Your Router
Port forwarding tells your router to send incoming traffic on a specific port directly to your Foscam camera. This is essential for remote access.
Log In to Your Router
Open your browser and enter your router’s IP address (e.g., 192.168.1.1). Log in with your admin username and password.
Find the Port Forwarding Section
Look for a menu labeled “Port Forwarding,” “Virtual Server,” “NAT,” or “Applications & Gaming.” The exact name varies by router brand (e.g., Netgear, TP-Link, ASUS).
Add a New Port Forwarding Rule
Create a new rule with the following settings:
- Service Name: Foscam (or any name you prefer)
- External Port: 88 (or another unused port; avoid 80 if your ISP blocks it)
- Internal Port: 88 (must match Foscam’s HTTP port)
- Internal IP Address: Your Foscam’s static IP (e.g.,
192.168.1.200) - Protocol: TCP (or Both, if available)
Note: Foscam cameras typically use port 88 for HTTP access. If you’ve changed this in the camera settings, use that port instead.
Save and Apply
Click “Save” or “Apply” to activate the rule. Your router may restart briefly.
Verify Port Forwarding
Use an online port checker (like YouGetSignal) to test if port 88 is open. Enter your public IP and port 88. If it shows “Open,” port forwarding is working.
Tip: If the port is closed, double-check your router settings and ensure your firewall isn’t blocking it.
Step 4: Configure Foscam to Use DuckDNS
Now it’s time to tell your Foscam camera to use DuckDNS.
Access the Foscam Web Interface
Open your browser and enter your Foscam’s local IP address (e.g., http://192.168.1.200). Log in with your admin username and password (default is often admin with no password).
Navigate to DDNS Settings
Go to Settings > Network > DDNS. You’ll see options for various DDNS providers.
Select DuckDNS
From the DDNS provider dropdown, choose DuckDNS.
Enter Your DuckDNS Details
Fill in the following fields:
- Domain Name: Your DuckDNS domain (e.g.,
myfoscam.duckdns.org) - Token: The token you saved earlier
- Username: Leave blank or enter any text (not used by DuckDNS)
- Password: Leave blank
Important: DuckDNS only uses the token for authentication. The username and password fields are ignored.
Save and Test
Click “Save” or “Apply.” The camera will attempt to update DuckDNS with your current public IP.
Wait a few seconds, then check the status. It should show “Success” or “Updated.”
Verify the Update
Go back to duckdns.org, log in, and check your domain. It should now point to your public IP.
You can also use a command prompt (Windows) or terminal (Mac/Linux) to run:
nslookup myfoscam.duckdns.org
It should return your current public IP.
Step 5: Access Foscam Remotely Using DuckDNS
Now that DuckDNS is set up, you can access your Foscam camera from anywhere.
Open Your Browser
On any device with internet access (phone, tablet, or computer), open your browser.
Enter the DuckDNS URL
Type in your DuckDNS domain followed by the port number:
http://myfoscam.duckdns.org:88
Note: Replace 88 with the port you forwarded if different.
Log In to Foscam
Enter your Foscam username and password. You should now see the live video feed.
Use the Foscam Mobile App
Download the Foscam VMS or Foscam Pro app on your smartphone. Add a new camera and select “DDNS” as the connection type. Enter:
- DDNS Address:
myfoscam.duckdns.org - Port: 88
- Username and Password: Your Foscam login
The app should connect and display your camera feed.
Enable HTTPS (Recommended)
For better security, access your camera using HTTPS:
https://myfoscam.duckdns.org:88
You may see a warning about the certificate—this is normal for self-signed certificates. Accept it to proceed.
Tip: Some browsers block mixed content. Use a dedicated app or ensure your site is fully HTTPS.
Troubleshooting Common Issues
Even with careful setup, you might run into problems. Here’s how to fix the most common ones.
Can’t Access Foscam Remotely
- Check port forwarding: Verify the rule is active and points to the correct IP and port.
- Test with local IP: Try accessing
http://192.168.1.200:88from another device on your network. If it works, the issue is external. - Restart router and camera: Power cycle both devices to refresh connections.
- Check firewall settings: Ensure your router or ISP isn’t blocking port 88.
DuckDNS Not Updating
- Verify token: Make sure you entered the correct DuckDNS token in the Foscam settings.
- Check internet connection: The camera must have internet access to update DuckDNS.
- Manual update: Visit
https://www.duckdns.org/update?domains=myfoscam&token=YOUR_TOKENto force an update. - Use a script: Set up a cron job or router plugin to update DuckDNS every 5 minutes.
Port 88 Blocked by ISP
Some ISPs block common ports like 80 and 88. Try using a different port, such as 8080 or 8443.
- Update port forwarding to use the new port.
- Change the HTTP port in Foscam settings (Network > Port Settings).
- Access via
http://myfoscam.duckdns.org:8080.
Camera Shows “Offline” in App
- Ensure the camera is powered and connected to Wi-Fi or Ethernet.
- Check if the DDNS status shows “Success” in the Foscam web interface.
- Re-enter DDNS settings and save again.
- Update the Foscam firmware to the latest version.
Security Best Practices
While DuckDNS makes remote access easy, it’s important to keep your camera secure.
Change Default Passwords
Never use the default admin password. Create a strong, unique password with letters, numbers, and symbols.
Enable HTTPS
Always use HTTPS to encrypt your video stream. Avoid HTTP when accessing remotely.
Disable UPnP
Universal Plug and Play (UPnP) can automatically open ports, but it’s a security risk. Disable it in your router settings.
Regularly Update Firmware
Check for firmware updates on the Foscam website. Updates often fix security vulnerabilities.
Limit Access with Firewall Rules
If your router supports it, restrict access to the Foscam port to specific IP ranges (e.g., only your phone’s IP).
Monitor Login Attempts
Some Foscam models log failed login attempts. Check these logs regularly for suspicious activity.
Conclusion: Enjoy Secure Remote Access
Setting up how to get Foscam to use DuckDNS might seem complex at first, but it’s a powerful way to access your camera from anywhere—without paying for a static IP. By following this guide, you’ve created a reliable, secure connection using free tools.
You now have a DuckDNS domain that updates automatically, port forwarding that directs traffic to your camera, and a Foscam configured for remote access. Whether you’re checking in on pets, monitoring your home while traveling, or keeping an eye on your business, you can do it safely and easily.
Remember to test your setup regularly and keep your passwords and firmware up to date. With DuckDNS and Foscam working together, you’ve built a smart, accessible security system that grows with your needs.