LanCache Tutorial | Speed Up Steam, Origin, Uplay, Epic, Battle.net, ...

preview_player
Показать описание
Got more than one gaming PC at home, or share the internet with other gamers?
If you do then you know about the downsides of having multiple people in your LAN download the same games and patches. Especially when you don't have gigabit internet or have a data cap to deal with.

In today's video I will show you how to fix that by setting up a LAN Cache on an old PC or a Virtual Machine from which your clients will grab games and patches!

#note: The LanCache developers pointed out to me that you should only use the LanCache as DNS Server. If you also have an alternative DNS server assigned on the client (or inside the DHCP options of your router) then it can happen that the client uses the alternative DNS Server and so the cache won't be used.
This did not occur during my testing, however to be on the safe side I recommend to follow the instructions of the develpers and not assign an alternative DNS Server.

Hope you enjoy it!

► Connect with me:

#LanCache #steam #origin #uplay #epicgames #battlenet
Рекомендации по теме
Комментарии
Автор


► Install Linux


mint 19.3 Cinnamon 64-bit (ubuntu)



► Configure Network

network settings -> edit -> ipv4
switch adress from "Automatic" to "manual"
set a static IP
(optional performance tweak) add 4 more IP's
enter DNS IP
Apply
disable IPv6
Apply
disable network connection
enable network connection


► Update Linux & Install LanCache

sudo su
apt update && apt upgrade -y
apt install curl -y
systemctl status docker
apt install docker-compose
apt install git


► Configure LanCache

cd lancache
nano .env
//(optional performance tweak - add) CACHE_SLICE_SIZE=8m
LANCACHE_IP=192.168.1.35 192.168.1.36 192.168.1.37 192.168.1.38
nano docker-compose.yml
add "restart: always" at the end of each service to get them to start automatically.


► Update & Launch LanCache

docker-compose up -d
docker stats


► Create cron job to restart LanCache which will also pull latest domain list

right mouse click on desktop -> Open in Terminal
nano lancache_restart.sh

#!/bin/sh
cd /home/USERNAME/lancache
docker-compose restart
chmod +x lancache_restart.sh

//right click on lancache_restart.sh -> properties -> copy the location (needed for the cron job we create next)

sudo crontab -e

* * * * *

//after 1 minute you should see the lancache services restart one after the other


//if that did work then set a time you want that restart to occur. i.e. 3AM daily

sudo crontab -e
0 3 * * *


► Configure Network DNS


either have your routers DHCP service tell all clients to use the LanCache Server as primary DNS server or set it manually on each client.

#note: The LanCache developers pointed out to me that you should only use the LanCache as DNS Server. If you also have an alternative DNS server assigned on the client (or inside the DHCP options of your router) then it can happen that the client uses the alternative DNS Server and so the cache won't be used.


This did not occur during my testing, however to be on the safe side I recommend to follow the instructions of the develpers and not assign an alternative DNS Server.

and lastly, clear the dns cache on your windows machines

inside a command promt
ipconfig /flushdns

BattleNonSense
Автор

There have been a bunch of solutions like this in the past but the crazy part here seems to be that EPIC and Valve actually worked with them to make changes to get this working better than previously. Crazy!

lathiat
Автор

This is crazy, I was talking to my GF earlier today about how inconvenient it is to copy/paste games over to her PC, and you uploaded this amazing video shortly after!

craigm
Автор

Sir, two things to say about your content: it is pure Quality; and Thank you for that ❤️

You are the best!

alexcortes
Автор

Uh, hey man. You ok? Been a minute. Hope everything's going well.

DeathStarLuke
Автор

The title should be "Speed-Up redownloads"

LetrixAR
Автор

Wow !
Finally done it after 3 tries.
I think I was making some mistakes earlier.
Awesome video man !
For anyone who want to know if it works, Hell yes !

gandharvmohan
Автор

Best guide I've seen for a while! actually learned something easy to follow.

qylrfoe
Автор

Where is the list of commands you used? I think you forgot to upload that. Would make things a lot easier then trying to read the screen.

TexasAce
Автор

If I had a dollar for all the times I have watched a video with, promised but missing information in the description :D

noxlupi
Автор

9:15
This allows some dns requests to bypass the cache server as dns doesn't prioritize the primary server.

Finnel
Автор

For those of us less familiar with linux, I would definitely second the idea of using Mint. It definitely takes its UI/UX cues from Windows, which makes navigating and using the OS much more easier.

CloneCommander
Автор

Finally someone who can teach me how to do this. Thank you!

irgendwasmitaltenautos
Автор

It has always been a dream of mine to have a cache server for games before I even knew what a cache server was. Recently got me an old enterprise server thats amazing for being a cheap file server for high speed transfers locally. Now I have this video. Time to make my dream a reality!

v
Автор

I'm not sure why I never thought of this

Thank you man.

SmugMatty
Автор

GREAT VIDEO! OMG!
YOU DESERVE 5 STARS MATE

Just perfect explanation. perfectly fine of everything!

knGsTiRe
Автор

06:43 Shouldn't we change that memory cache?
08:10 What is that star thing you have typed?
Also Lancache website recommends mounting cache location on separate volume from your OS, why didn't you mount cache location on separate volume from your OS?

AnuragTulasi
Автор

Mind blown! I will probably never use this as I only have 1 PC, but who would have thought that EA out of all companies would support such a tool?! It just feels so wierd seeing "local content provider detected" in an Origin window...

NinjaContravaniaManX
Автор

Battle(non)scene : if you also have more than one gaming PC at
Me. : Kill me.

K.N.H.
Автор

I love your networking videos. Hope to see more of these.

rokaszulanskas