The best and quickest way is to get started with is to use the quickstart. The below guides give more information on what is available under the hood and provide more information on the specific setup options


Checkout Docker-compose

Our docker-compose repo provides everything you need to get up and running with a basic setup. Start by pulling the docker-compose as follows

git clone

Environment Setup

Before starting the containers it’s important to configure the basics by editing the .env file. Work through the file and read the comments before updating each setting.

Getting stuck?

There are a few additional notes for each variable to help you set it to something "sensible"

Ready to go

We are now ready to start the stack. You can bring the stack up typing

docker-compose up -d

If you wish to stop it later simply type

docker-compose down

Configuring your firewall

Once lancache-dns and monolithic are up and running you need to configure your router to hand out the IP address of the lancache-dns instance instead of your usual default. This is called “DNS poisoning” and is the primary intercept method for our cachable traffic.

The ideal solution when deploying is to distribute the IP of your lancache-dns server via dhcp. Many commercial routers will have an option under LAN settings (or similar) to change the DNS Server IP. Unfortunately not all consumer brand routers are so versatile so if you cannot find a LAN DNS setting you can use the WAN settings instead. There are many different makes and models of router and each is configured differently. We have put together a guide for some common makes and models which can be found here

Testing your cache

Now you’ve configured your dns, started that stack and are ready to test things are operating. Here’s some very basic diagnostics and tests we would suggest to run to see if things are working.

  1. Check your dns is being intercepted
    • Run a few queries using command prompt to check that your dns is pointing at your cache, the following should all result in your cache ip if everything is working
      ipconfig /flushdns
  2. Download a game through steam
    • If everything is working you should find the first time you download a game speeds which are equivalent to your internet speed. You may find that initial downloads through the cache are slightly slower, but thats ok.
    Why do we cache

    We cache traffic in order to provide benefit to many users in a large environment. LanCache is optimised for hundreds to thousands of gamers downloading at once not one or two users on a small scale. The emphasis is always on superior cached performance over uncached.

  3. Uninstall the first game and download again
    • This time you should find your game downloads much faster (depending on your limiting factor: Server Disk, Client Disk, Network, see hardware.
  4. Try a few other cdns

  5. Precache some of the more popular games you might expect to happen at your event
    • Although precaching isn’t necessary, it certainly helps the initial demand on a cache when everyone turns up at the same time.
  6. Get your friends round and enjoy the entire lan being able to download a game for only 1x external traffic.
Stay Up to Date

We recommend you update your containers regularly to benefit from the latest bug fixes. Check out our guide on upgrading →