October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

Building a Local Steam Caching Server to Ease the Bandwidth Blues

LanCache can reduce repeated Steam downloads across multiple PCs, but DNS is the key. Here is how to deploy it, test cache hits, size the hardware, and avoid common bypasses.
Length8 min Posted Quest giverVGSources Team

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Yes—a local Steam cache can save substantial WAN bandwidth when several PCs repeatedly download the same games or updates. The first PC still downloads uncached data from Steam, but later PCs can receive reusable content across the LAN. For most home labs, LAN parties, cafés, and esports venues, the practical open-source solution is LanCache.NET’s monolithic Docker deployment, integrated through DNS.

It is usually unnecessary for one gaming PC, and it is not the same as Valve’s SteamPipe Local Content Server, which is intended primarily for developers distributing their own Steamworks depot builds.

What a local Steam cache actually solves

Imagine five PCs downloading the same 100 GB game. Without caching, the internet connection may transfer roughly 500 GB. With a working cache, the WAN may need to retrieve approximately 100 GB once, while subsequent requests are served from local storage.

That is an illustrative calculation, not a guarantee. Patches, changed manifests, cache eviction, different CDN behavior, unsupported traffic, and incomplete reuse can all reduce the saving.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
UGREEN NAS DH2300 2-Bay for Beginners & Personal Users, Phone Backup
  • Entry-level NAS Personal Storage:UGREEN NAS DH2300 is your first and best NAS made easy. It is designed for beginners who want a simple, private way to store videos, photos and personal files, which is intuitive for users moving from cloud storage or external drives and move away from scattered date across devices. This entry-level NAS 2-bay perfect for personal entertainment, photo storage, and easy data backup (doesn't support Docker or virtual machines).
  • Set Your Devices Free, Expand Your Digital World: This unified storage hub supports massive capacity up to 64TB.*Storage drives not included. Stop Deleting, Start Storing. You can store 22 million 3MB images, or 2 million 30MB songs, or 43K 1.5GB movies or 67 million 1MB documents! UGREEN NAS is a better way to free up storage across all your devices such as phones, computers, tablets and also does automatic backups across devices regardless of the operating system—Window, iOS, Android or macOS.
  • The Smarter Long-term Way to Store: Unlike cloud storage with recurring monthly fees, a UGREEN NAS enclosure requires only a one-time purchase for long-term use. For example, you only need to pay $459.98 for a NAS, while for cloud storage, you need to pay $719.88 per year, $2,159.64 for 3 years, $3,599.40 for 5 years. You will save $6,738.82 over 10 years with UGREEN NAS! *NAS cost based on DH2300 + 12TB HDD; cloud cost based on 12TB plan (e.g. $59.99/month).
  • Blazing Speed, Minimal Power: Equipped with a high-performance processor, 1GbE port, and 4GB RAM on Board, this NAS handles multiple tasks with ease. File transfers reach up to 125MB/s—a 1GB file takes only 8 seconds. Don't let slow clouds hold you back; they often need over 100 seconds for the same task. The difference is clear.
  • Let AI Better Organize Your Memories: UGREEN NAS uses AI to tag faces, locations, texts, and objects—so you can effortlessly find any photo by searching for who or what's in it in seconds. It also automatically finds and deletes similar or duplicate photo, backs up live photos and allows you to share them with your friends or family with just one tap. Everything stays effortlessly organized, powered by intelligent tagging and recognition.
  • WAN savings: one upstream copy can be reused locally.
  • LAN delivery: later clients can download from the cache host over Ethernet.
  • Acceleration: cache hits can be much faster; the first cache miss remains constrained by your internet connection, Steam’s CDN, disk activity, and the cache’s behavior.
  • Storage reuse: the cache stores downloadable content, not Steam licenses, accounts, or complete user installations.

Who should build one?

LanCache is most useful for:

  • LAN-party and esports-event organizers.
  • Gaming cafés with repeated installations.
  • Households with several gaming PCs.
  • Developers and testers who repeatedly install the same titles.
  • Users with data caps, slow connections, or expensive bandwidth.

Skip it if you have one PC, rarely reinstall games, cannot control client DNS, or would need to buy a large server and disk for only occasional use. Manually copying a Steam library may be simpler for a few known machines.

How LanCache works

  1. DNS steering: clients use the LanCache DNS service. Selected game-CDN hostnames resolve to the cache host’s private LAN address.
  2. Cache miss: the cache retrieves requested content from the upstream CDN and stores it on disk.
  3. Cache hit: another client requesting the same cacheable ranges receives them from the local cache.
  4. Other traffic: the DNS service forwards unrelated queries upstream.

This is not a conventional HTTP proxy that you configure inside Steam. DNS is the central integration point. LanCache can pass through HTTPS traffic, but it cannot ordinarily cache encrypted HTTPS content.

Hardware and network checklist

  • A modern Linux distribution with Docker and Docker Compose support.
  • A stable private IPv4 address, such as 192.168.1.50.
  • A dedicated cache volume separate from the operating-system disk.
  • Enough capacity for the games, updates, and churn your network actually reuses.
  • Gigabit Ethernet at minimum; wired clients are strongly preferable for events.
  • Router or DHCP access so clients can receive only the LanCache DNS server.

Storage is normally the most important purchase. A useful planning formula is:

cache size = shared library + patch churn + event headroom + free-space reserve

SSD or NVMe storage is recommended for larger groups and simultaneous downloads, but it is not universally required. LanCache’s published hardware examples include a home setup reporting approximately 240 Mbps from a 2 TB hard drive and a small setup reporting roughly 800–900 Mbps with SSD assistance. These are project-reported examples, not guaranteed benchmarks.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a small household, a low-power refurbished mini-PC with a separate drive may be sufficient. Larger LANs may benefit from SSD/NVMe storage, multiple network interfaces, and a faster switch. CPU and RAM matter, but disk I/O, network capacity, concurrency, and cache size usually matter more.

Install LanCache with Docker Compose

1. Prepare the host

Install Linux and Docker using Docker’s current official documentation. Avoid assuming that a distribution’s Docker package is current or supported.

Give the host a stable private address reachable by every gaming PC. Reserve it in DHCP or configure a suitable static address. The example below uses 192.168.1.50.

Rank #2
Sale
UGREEN NAS DXP2800 2-Bay for Advanced Home Users, Remote Workers & Creators
  • 【Advanced Home Data & Media Hub】For advanced home users who need phone backup, file storage, and centralized data management. Centralize family photos, 4K videos, movies, computer backups, and personal files in one place while running multiple apps for home entertainment and everyday data management. Suitable for households with growing digital libraries and multiple NAS use cases.
  • 【Built for Creators, Media Servers & Advanced Apps】Powered by the Intel N100 Quad-Core CPU, 8GB DDR5 RAM, 2.5GbE networking, and dual M.2 NVMe slots, DXP2800 handles large files and heavier workloads with ease. Run Docker, virtual machines, and media server applications compatible with Plex—ideal for content creators, tech enthusiasts, and advanced home users managing 4K videos, RAW photos, personal media libraries, and multiple NAS apps.
  • 【Up to 80TB for Growing Digital Libraries】 Supports up to 80TB of storage using two HDD bays and two M.2 NVMe SSD slots for family photos, movies, RAW photos, 4K videos, work files, and device backups. AI photo management supports recognition of people, objects, scenes, and locations, album organization, and duplicate photo detection. HDDs and SSDs are not included.
  • 【AI-powered Home Surveillance】Turn DXP2800 into a centralized home surveillance hub by connecting compatible network cameras and storing recordings locally on your NAS. AI-powered features include Face Recognition, People Detection, and Pet Detection, helping advanced home users review important events more efficiently while managing home surveillance and personal data in one place.
  • 【One data Center Across Your Devices】Keep files from desktops, laptops, phones, tablets, and other devices together instead of scattered across cloud accounts and external drives. Access, back up, organize, and share data across Windows, macOS, Android, iOS, web browsers, and compatible smart TVs—ideal for creators and advanced home users working across multiple devices.

2. Obtain the maintained deployment

LanCache’s current quick-start path is:

git clone https://github.com/lancachenet/docker-compose/ lancache --depth=1
cd lancache
nano .env
docker compose up -d

Use the repository’s supplied Compose files and .env template rather than treating an old hand-written Compose file as permanent. Service names and variables can change.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

3. Configure the environment

At minimum, verify values equivalent to:

LANCACHE_IP=192.168.1.50
CACHE_ROOT=/path/to/cache
CACHE_DISK_SIZE=2t

Replace the example values. LANCACHE_IP is the address returned by LanCache DNS, CACHE_ROOT is the persistent cache location, and CACHE_DISK_SIZE describes the intended cache volume. Do not fill the disk completely; LanCache documents a default free-space reserve of approximately 10 GB.

4. Start and inspect the services

docker compose up -d
docker compose ps
docker compose logs --tail=100

The cache and DNS services should be running. The current Compose project may also include an SNI proxy. Use docker compose ps to see the actual names rather than relying on names from older guides.

Configure DNS correctly

In the router’s DHCP or LAN settings, distribute the LanCache DNS address:

192.168.1.50

For reliable interception, clients should use only the LanCache DNS service. Do not add Google DNS, Cloudflare DNS, an ISP resolver, or another fallback directly to client DHCP settings. A client choosing an external resolver can bypass the cache intermittently.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Configure upstream resolvers inside LanCache instead. The standalone documentation shows this form:

-e UPSTREAM_DNS="1.1.1.1 1.0.0.1"

After changing DHCP, renew client leases and clear cached DNS. On Windows:

Rank #3
BUFFALO LinkStation 210 2TB 1-Bay NAS Network Attached Storage with HDD Hard Drives Included NAS Storage that Works as Home Cloud or Network Storage Device for Home
  • Value NAS with RAID for centralized storage and backup for all your devices. Check out the LS 700 for enhanced features, cloud capabilities, macOS 26, and up to 7x faster performance than the LS 200.
  • Connect the LinkStation to your router and enjoy shared network storage for your devices. The NAS is compatible with Windows and macOS*, and Buffalo's US-based support is on-hand 24/7 for installation walkthroughs. *Only for macOS 15 (Sequoia) and earlier. For macOS 26, check out our LS 700 series.
  • Subscription-Free Personal Cloud – Store, back up, and manage all your videos, music, and photos and access them anytime without paying any monthly fees.
  • Storage Purpose-Built for Data Security – A NAS designed to keep your data safe, the LS200 features a closed system to reduce vulnerabilities from 3rd party apps and SSL encryption for secure file transfers.
  • Back Up Multiple Computers & Devices – NAS Navigator management utility and PC backup software included. NAS Navigator 2 for macOS 15 and earlier. You can set up automated backups of data on your computers.
ipconfig /flushdns
ipconfig /renew

Then check resolution:

nslookup lancache.steamcontent.com

The answer should be the cache host’s private IPv4 address when that hostname is covered by the current LanCache configuration. Do not rely on an old hostname list; use the domains shipped with the current project.

IPv6 and encrypted DNS

DNS-over-HTTPS, DNS-over-TLS, hard-coded resolver settings, or IPv6-provided external DNS can bypass the intended path. LanCache currently documents that its DNS component does not enable IPv6 interception; an unmodified IPv6 CDN answer may therefore send a client directly to Steam.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Test IPv6 deliberately on your network. For a controlled event network, you may choose to manage or temporarily disable IPv6 advertisements, but that is not a blanket recommendation for every home network.

Prove that the cache is working

Use a deliberately uncached game or update.

  1. Start the download on PC A.
  2. Watch the containers and confirm upstream activity.
  3. Let the download complete, or cache a substantial portion.
  4. Start the same download on PC B.
  5. Check that PC B’s traffic is primarily local and that WAN usage does not rise as it did for PC A.

Follow the Compose logs with:

docker compose logs -f

For the standalone monolithic container, LanCache documents the access log at /data/logs/access.log and persistent data at /data/cache:

docker exec -it lancache tail -f /data/logs/access.log

Steam’s displayed average can be misleading during the first miss: the cache may retrieve and slice upstream data before delivering it rapidly over the LAN. Validate with access logs, router WAN utilization, cache-disk activity, switch-port traffic, and a second-client test—not just Steam’s speed number.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting

The cache stays empty

The most likely cause is DNS bypass. Confirm the client’s active DNS server and run:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
nslookup lancache.steamcontent.com

Remove fallback DNS entries, check for hard-coded resolver settings, review encrypted-DNS settings, and investigate IPv6 answers. A running container alone does not make Steam use the cache.

Rank #4
Sale
UGREEN NAS DH4300 Plus 4-Bay for Beginners, Home Users & Remote Workers
  • Entry-level NAS Home Storage: The UGREEN NAS DH4300 Plus is an entry-level 4-bay NAS that's ideal for home media and vast private storage you can access from anywhere and also supports Docker but not virtual machines. You can record, store, share happy moment with your families and friends, which is intuitive for users moving from cloud storage, or external drives to create your own private cloud, access files from any device.
  • Smart Photo Backup & AI Album: Automatically back up photos and videos from your phone in real time and keep growing family memories organized with AI-powered photo albums. Semantic search, custom learning, and recognition of people, objects, pets, and similar photos help you quickly find the moments you want. Duplicate photo removal also helps keep your library organized—ideal for families and users with large photo collections.
  • User-Friendly App & Easy Setup: Connect quickly via NFC, set up simply and share files fast on Windows, macOS, Android, iOS, web browsers, and smart TVs. You can access data remotely from any of your mixed devices. What's more, UGREEN NAS enclosure comes with beginner-friendly user manual and video instructions to ensure you can easily take full advantage of its features.
  • More Cost-effective Storage Solution: Unlike cloud storage with recurring monthly fees, A UGREEN NAS enclosure requires only a one-time purchase for long-term use. For example, you only need to pay $629.99 for a NAS, while for cloud storage, you need to pay $719.88 per year, $1,439.76 for 2 years, $2,159.64 for 3 years, $7,198.80 for 10 years. You will save $6,568.81 over 10 years with UGREEN NAS! *NAS cost based on DH4300 Plus + 12TB HDD; cloud cost based on 12TB plan (e.g. $59.99/month).
  • Your Data, You Control:No third-party clouds, no hidden access, UGREEN NAS provides a more secure and private data storage solution. It stores data locally on your private hard drives and does automatic backups. Thus, you can keep full control over it. The advanced encryption is TRUSTe certified in the United States and is awarded the first (and only) ETSI EN 303 645 certification mark for NAS products by TÜV SÜD Group.

Port 53 will not bind

systemd-resolved may already occupy the local DNS port. LanCache documents this conditional fix:

sudo -e /etc/systemd/resolved.conf

Set:

DNSStubListener=no

Then run:

sudo rm /etc/resolv.conf
sudo ln -s /var/run/systemd/resolve/resolv.conf /etc/resolv.conf
sudo service systemd-resolved restart
nslookup lancache.net

Do this only when the port conflict exists, and understand the effect on the host’s DNS configuration.

Ports 80 or 443 are already used

A web server, Pi-hole, Unbound, NAS interface, Kubernetes ingress, or another container may occupy ports required by the deployment. Identify and relocate the conflicting service, use a dedicated IP or VM, or choose a different host. LanCache specifically discusses port conflicts in its common-issues guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Containers do not return after reboot

Inspect actual names first:

docker ps --format 'table {{.Names}}t{{.Status}}'

Then apply a restart policy to the relevant containers, for example:

sudo docker update --restart unless-stopped lancache_monolithic_1
sudo docker update --restart unless-stopped lancache_dns_1

Names vary by Compose project and version.

The first download is slow

That is expected for a cache miss. The first request still comes from the internet, and the progress display may be misleading while content is fetched and sliced. Judge performance using WAN traffic and a second client.

Performance collapses with several clients

Check disk latency and sustained writes first. A slow hard drive can become the bottleneck under concurrent range requests even when the CPU is mostly idle. Upgrade storage, verify gigabit or faster links, and avoid Wi-Fi bottlenecks before changing advanced settings.

The cache fills the disk

Use a dedicated, monitored volume. Review CACHE_DISK_SIZE, CACHE_MAX_AGE, and the configured free-space reserve. Never allow cache growth to consume the operating system’s root filesystem.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Synology 2-Bay DiskStation DS223j (Diskless)
  • Secure private cloud - Enjoy 100% data ownership and multi-platform access from anywhere
  • Easy sharing and syncing - Safely access and share files and media from anywhere, and keep clients, colleagues and collaborators on the same page
  • Automated Backup Protection - Set-and-forget backups for Macs, PCs and mobile devices to multiple destinations including cloud and external drives
  • Home Security System - Record and monitor your property 24/7 with support for multiple IP cameras and remote viewing
  • 2-Year Warranty - Reliable hardware backed by Synology's expert customer support team and ongoing software updates

Content is not reused

Possible explanations include changed patch ranges, eviction, an uncovered CDN hostname, HTTPS or another unsupported path, DNS bypass, or a launcher changing its download behavior. LanCache’s monolithic service is designed for HTTP content and supports HTTP range requests; it cannot cache arbitrary encrypted HTTPS traffic.

Performance tuning: fix fundamentals first

LanCache’s advanced tuning documentation warns that slice-size changes have trade-offs. The documented default is 1 MB. Larger slices may help some single-user cases but can increase waiting time for multiple users and invalidate much of the existing cache.

Do not tune slices before confirming DNS, storage, ports, and network paths. For larger installations, additional IP addresses and more advanced layouts may be useful, but they are infrastructure projects—not necessary steps for a normal home deployment.

Alternatives

Copy an existing Steam library

For two or three known PCs, copying game files to another machine and letting Steam discover and validate them may be easier than administering DNS, Docker, and a cache volume. It is less convenient for frequent patches, many machines, mixed operating systems, or unplanned events.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

SteamPipe Local Content Server

Use Valve’s SteamPipe LCS when you develop or publish a Steam game and need local delivery of your own depot builds. It uses Steamworks SDK tooling and is not a general-purpose cache for arbitrary retail Steam downloads.

NAS or virtual machine

A NAS can be suitable if it supports Docker or a dedicated Linux VM, persistent volumes, adequate disk I/O, and uncontested access to ports 53, 80, and 443. Buying a NAS solely for LanCache is rarely the simplest route. For problematic deployments, LanCache notes that a dedicated Ubuntu VM with its own IP can be easier.

Is it worth the cost?

LanCache itself is open source and primarily free to deploy. The real costs are the host, cache disk, electricity, administration, and eventual storage replacement.

Estimate value by asking:

  • How many identical installations or updates happen each month?
  • How large are they?
  • Does the ISP impose a data cap or overage cost?
  • How much faster would local delivery make an event or café reset?
  • Would manual library copying solve the same problem with less maintenance?

A low-power mini-PC and large secondary drive can be a sensible home solution. A fast SSD-backed host and managed gigabit or multi-gigabit network make more sense for many simultaneous clients. Expensive enterprise hardware is difficult to justify for a single-PC household.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Bestseller No. 3
BUFFALO LinkStation 210 2TB 1-Bay NAS Network Attached Storage with HDD Hard Drives Included NAS Storage that Works as Home Cloud or Network Storage Device for Home
BUFFALO LinkStation 210 2TB 1-Bay NAS Network Attached Storage with HDD Hard Drives Included NAS Storage that Works as Home Cloud or Network Storage Device for Home
2TB capacity – 1 Drive bay, HDD included.; Made in Japan – Quality Devices.; 24/7 US-based support, with 2-year warranty, including hard drives.
$153.99
Bestseller No. 5
Synology 2-Bay DiskStation DS223j (Diskless)
Synology 2-Bay DiskStation DS223j (Diskless)
Secure private cloud - Enjoy 100% data ownership and multi-platform access from anywhere
$209.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How To Create Custom Stickers & Shoutouts In Monster Hunter WildsMonster Hunter WildsBlog20min
  2. How to Get XL Gogoat in Pokemon Legends Z-A (An Extra-Large Gogoat)Pokemon Legends Z-ABlog20min
  3. How to Get Rotting Lightbringer in Diablo 4Diablo 4Blog17min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.