-
Posts
51 -
Joined
-
Last visited
Reputation Activity
-
Matt1632 reacted to Soul Eather in Synology NAS lancache+pihole
I see there is a new version of portainer. I will try to update my container too and come back with a reply.
-
Matt1632 reacted to Blue4130 in My friend is DDOS atacking me
Be realistic. The police are not going to do anything or know what to do. Contact the ISP, let them deal with it.
-
-
-
Matt1632 reacted to Choubakawa in Synology NAS lancache+pihole
I learn about lancache today and you upload your tutorial the same day ! 😀
I can fill my synology with my games now 😄
Thanks a lot !
-
Matt1632 reacted to Falcon1986 in Home network
Home network =/= apartment network
Several questions:
Are you a small ISP or just trying to re-sell/distribute a single internet connection? Do you have permission from the ISP to do this? Some ISPs will not allow this on their home packages. Are all of these apartment units on the same level? Do you have the ability to run ethernet to all units? At the end of the day, do you require bandwidth controll? 26 users accessing a 100Mbps connection at the same time (and you’re hoping that they don’t use more than 1 device per person) is just under 4Mbps per link... not very much. Imagine if only 5 of these people decide to access Netflix at the same time. What is your budget? You’ll need a solid firewall device (look into pfSense), and the ability to place each apartment on it’s own VLAN (or create isolated networks) to ensure privacy, so a managed switch with enough ports will be necessary. You can then run gigabit ethernet from the switch to each apartment unit. -
Matt1632 got a reaction from the gamer that is bad in 10 gig link
I have a CAT6 cable that cannot be changed out that I need to push 10gig through.
The way it is currently set up would lend itself to being changed out on one end for a SFP+ to ethernet adapter plugged into my unifi aggregation switch and on the other a 10gig ethernet switch.
I don't know if going from sfp+ adapted to ethernet to a 10gig ethernet port is compatible.
If someone knows can they please clear this up for me. I'm kinda a noob with fibre standards (all I've done up to this point has been multimode fibre runs that are very generic)
-
Matt1632 reacted to Soul Eather in Synology NAS lancache+pihole
First of i should start saying that this is my first tutorial, i am not extremely experienced with linux or docker(started using it just this year) and everithing here was built on aproches that none seemed to use.
Before going any further this is using Lancache-Monolitic, not just a specific instance.
Now with that out of the way the folowings are the status quo of the aproach used in this tutorial(if i can call it that):
Advantages:
(this could be considered either a pro or a con) The NAS ip adress is not used for anything relating lancache or pihole; they use different IP's Pihole log shows the real adress so no more " all requests form 172.16.0.1" Only docker and it's features are used(if we count the containers) 90% GUI utilisation 10% use of CLI, you could use Putty or even linux terminal(i used that) because you need access to the root files No meddling with the router or making port forwardings or proxy's And, NO VM! Disadvantages (or not solved issues):
For the moment it is mandatory to start the containers manualy in a specific order or this doesn't work. I will try to find a solution on this and i have a lead but don't know how to implement it ( manualy assign MAC addresses to the containers was the best i could find but don't know how to do it yet) lancache dns and sniproxy are on different IP's, so only the dns can be used at this time. Like above i have a solution but no time to research now, and that would be either a bridge between the network or merging all docker containers in one
Prerequisites:
A Synology NAS with DSM installed and functional (or something with a working docker application) Docker installed A working ssh connection ( you can find other tutorial for this on the web) A bit ok knowledge about you're network; mostly you're router IP, subnet(usualy 255.255.255.0 or the equivalent /24), and what IP's you have free on the network
Now let's start the fun part:
To speed things out make sure you have the following images downloaded in you're docker:
pihole/pihole:latest lancachenet/monolithic:latest lancachenet/lancache-dns:latest lancachenet/sniproxy:latest portainer/portainer-ce:latest
First Step is to install Portainer( this is the part where you need th SSH into the NAS)
I will use the linux terminal so i need to do the following:
use the command "ssh [user]:[IP of the NAS]" to connect to the nas use "sudo su -" to get priviledges to use the "docher info" command use "docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v [**]:/data portainer/portainer" here [**] should look something like this: "/volume1/docker/portainer/data"(without " )* * that path assumes you have a "docker" directory in you'r file system and a structure like so:
docker
└── portainer └── data
After this we need to find the name of the network card using "ip addr", look for the zone where it's mentioned the NAS ip, in my case "ovs_eth0". Remember this!
Now we are done with the CLI and should see the portainer container in the docker interface
Now we need to go on the following URL to configure portainer: [IP of the NAS]:9000 ; in my case 192.168.1.2:9000
the first time you get here you will receive a page where you need to create a user with a password followed by one where you need to sellect docker local. You should then be send to a page that looks like this:
Next click on local then go to the left side on the Networks tab:
Here you need to add a newtork someting like this:
Name: write something here
Driver: needs to be macvlan
Port Network card: type what you have found earlier in CLI
Gateway; you're router IP
Subnet: Mine is 192.168.1.x/24 that means that i can have any ip from 192.168.1 all the way to 192.168.1.254, you can find this information in the DHCP tab of you're router
IP range: here you need to specify what IP you want to save for all the containers that will inhabit this network, i chose to alocate the IP's in the range 192.168.1.16 - 192.168.1.32 that is why i have /29
Now we have a configuration but we need a concrete connection so go back to the networks and click Add again and do the following:
Name: this time this is a little bit more important because you will use this so chose a good one
Driver: the same macvlan
This time however you need to chose "Create" NOT "Configure".
Configuration: chose the one you made earlyer.
Optional but i use it is the "Enable manual container attachment" this will let you change containers network dynamicaly. Good to have i tought.
After you click create we are done with portainer for now.
We go back to the Docker interface on our NAS.
First we need to configure pihole, you can go to any instalation video but the most important thing will be in the network tab click on "+" and add our newly created network and delete the old "bridge" one, leav all the "Port settings" on Auto and set the "ServerIP" from the Environment tab to the first addres in our range. In my case 192.168.1.16 .
Now you need to make shure that the pihole works so go to the assigned addres in my case 192.168.1.16 and should be reddirected to the admin page. After you login you need to go to Setting->DNS and make shure the left "Upstream DNS Servers" are all unchecked and in the right you check Custom1 (IPv4) and write the 3'rd addres in you're range mine was 192.168.1.18 . (One issue here is that sometimes if you check to use both custom dns's [custom 1 and 2] i was facing some packets not caching, this needs to be checked later so for now i use only custom 1)
Now you can install lancache with the same aproach as Pihole, selecting the newly created network, leave all ports on Auto the rest you can find in a tutorial ( if need be i will add later some more details) but the most important is to have the good network selected.
Now to install lancache-dns and sniproxy, this have the same principles but the environment "LANCACHE_IP" needs to be set to the second ip in the network, mine is 192.168.1.17 and "USE_GENERIC_CACHE" is set on true. if you don't see this you need to click + on the top. And i beleve it's the same with sniproxy.
Now all you need to do is set you're DNS to the pihole addres and start testing if it works(maybe with those 100MB games that you have laying around in the steam).
Very Important!
Now that we have set all the Ip we need to start the containers in the following order every time(portainer is an exception, because it's irelevent when we start it): PIHOLE -> Lancache-monolitic -> Lancache-dns -> lancache-sniproxy(this is optional because it's not working right now).
To verify that the containers have been started in the good order you can go to portainer to Networks -> click on you're network that you made(the "Create" one) and make shure you have at the bottom something like this:
where my pihole has the first ip .16, my lancache has the second .17 and the dns has .18
Final toughts:
If someone is interested in solving the isues i will gladly update this post after i verrified that it will work.
If someone want's to stilize this post it can contact me with a PM.
From what i've tested i have Peek download 67.3 MBps when downloading from the cache using wifi in the same room from both Steam and Epic. As af the time of writing this i have 300GB of games cached and an acces log of over 100MB
If you encounter problems i will try to help you but i don't realy have much time because i'm in the last year of college and i'm ending it soon, but i will try. Hope this helped someone.
P.S. if someone makes a video on this i demand to be good quality and to leave a link here so i can see it :)))
-
Matt1632 reacted to EpiCheeseTime in Router Recommendations
and just a heads up. I am a Unifi fan boy, so I love their stuff haha.
-
Matt1632 reacted to EpiCheeseTime in Router Recommendations
Then if money isn't a huge problem. Unifi Dream Machine. Loved it when I had one. The only box it doesnt check is wifi 6 (to my knowledge). It is a little costly...but it has a USG, a 4x4 MIMO wifi, internal gigabit switch, and easy adoption and expansion for future proof.
Now if money is a little issue, D-Link EXO Mesh is good runner up. its 1/3 the cost, but I know it does lack a little in the coverage area.
-
Matt1632 reacted to atlemo in Just wondering, what's your browser and why?
I have been a LTT-watcher for years so it was about time I made an account here
Thanks for the feedback, I'll see what we can do.
-
Matt1632 reacted to atlemo in Just wondering, what's your browser and why?
That's odd. We're usually only a few weeks behind at most. And we also identify as Chrome in our User agent string, so websites should detect you as a Chrome user.
There's a new release today (just now!), please update and see if you have any further issues.
-
Matt1632 reacted to hollyh88 in A lot of android users could be switching to iphone because of long term support and privacy
might be you but android auto works fine whenever i used it.
-
Matt1632 reacted to hollyh88 in A lot of android users could be switching to iphone because of long term support and privacy
lol.. no thanks ill stick with my samsung phone.
-
Matt1632 reacted to JoeCoke in A lot of android users could be switching to iphone because of long term support and privacy
If I ever switch from Android, it'll be because we have a third competitor that's better than either. Until then, I'm here, period. I don't even really like Android, it's just that I despise iOS.
-
Matt1632 reacted to tobeornottobealttfan in Creating a charging limit
Hello,
My asus laptop has a software called ASUS battery health charging which regulates the point upto which I can charge the laptop battery.
For example if I set the limit to 80%, the laptop will stop charging when it has reached 80%.
I love this software because it prevents over charging the battery, but unfortunately it has only 3 levels, 60%,80% and 100%.
I was wondering if it is to create such a script file which will do the same thing but in it I can select the levels up until which it will charge.
Can someone help me?
Thanks in Advance
-
Matt1632 reacted to Fasauceome in NVME drive not giving full access.
this works for me when I need to delete recovery partitions
https://www.laptopmag.com/articles/erase-recovery-partition-windows
-
Matt1632 got a reaction from paddy-stone in What's on your "to do" list for projects? hardware/software related
shall do. Thanks
-
Matt1632 reacted to paddy-stone in What's on your "to do" list for projects? hardware/software related
Yeah, it should be straight forward. If not, make a post in storage forum, and include a screenshot of the disk management, as it might help narrow down the problem. Hope it goes well for you though.
-
Matt1632 got a reaction from paddy-stone in What's on your "to do" list for projects? hardware/software related
Rural scotland so theres a bunch of subsidies but I'm in my parents home and my dad works from home and so do most of the people living nearby so it's partly paid for by us and partly by the goverment. Hella expensive tho.
I was reading they need red tape cut for them to save 8billion in infrastucture costs but it sounds like it would be worth it to do so they can speed up rollout.
-
Matt1632 reacted to Quinnell in No Pixel 5 XL
Not really. I never liked the XL versions anyway - too big for me. I am just glad THEY BROUGHT BACK FINGERPRINT READER.
-
Matt1632 reacted to IntMD in What were your first specs?
1st Actual PC...
Pentium 133Mhz
16mb RAM
1.5GB HDD
Windows 95
15" CRT
Looked exactly the same as this, down to the triple CD changer in there.
-
-
Matt1632 reacted to Slayer3032 in Building a Server Computer for Lan Parties
LGA2011 and even AM4 offer some pretty attractive multithreaded performance, and with LGA2011 you generally find the stability and features you'd want at a really low price when you mix in some used parts. The Ivy Bridge v2 stuff is often a solid bump in performance over Sandy Bridge. If you're looking for extremely low budget, LGA1356 is also an option but getting the 8 dimms of LGA2011 is really nice when you pack it full of cheap, used DDR3.
You likely won't need 32gb of memory unless you're running VM's on it or every server you install at once. Servers don't need a GPU, you'd be connecting to it via ssh or remote desktop anyways. Memory speed isn't going to matter one bit unless you're on a platform like Ryzen where it benefits cpu performance heavily. It's a server and unless you're planning on high player counts and heavy loads, you're going to want higher core/thread counts so you can run more servers at once rather than fewer at higher performance. Soon as you get a bunch of servers going on a quad core, you're going to notice it rather quick.
Ideally you'd also buy something like this with a plan for how to utilize it in other ways as well such as using it as a Plex/NAS, hosting some public gameservers, ect. Are you trying to go for portable? Does it need to move or do the lan parties come to it? LGA2011 wouldn't be the first platform I'd consider for something that could be at least micro atx.
-
Matt1632 reacted to Nano Adam in Wireless to wired internet routers?
Ah! Maybe usb to ethernet dongle, and connect to a switch. Since your phone is technically the router. Both iPhone and Android allow USB hotspot, but not sure with router.