Optimize your internet connection for FPS Games? Yes you can. OpenWrt tutorial.

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 63

  • @snickeas1
    @snickeas1 11 месяцев назад +6

    the U in UPnP stands for Universal not "unplug" as you said a couple of times in your video. I know it sounds picky, but the correct terminology is important! Great tutorial by the way.

    • @kmprojects2023
      @kmprojects2023  10 месяцев назад +7

      You are 100% correct and the feedback is awesome. Sometimes narrating unscripted videos, your brain just completely shuts off. To be real, recording yourself is much harder than you think.

  • @advertentiegolf
    @advertentiegolf 2 месяца назад +2

    I am really disappointed that I did not experience a performance boost. I didn't build my own router, so I didn't handle the terminal tasks or create the bootable USB to flash OpenWrt. I have a TP-LINK Archer C7 V2 router, and I flashed the latest OpenWrt firmware (OpenWrt 23.05.4) on it. Without optimizing any of the SQM settings, I managed to get a D-Score on Waveform, which thrilled me because I had something to improve to decrease my latency.
    However, I noticed that when I turned on SQM, my download and upload speeds dropped from 100/30 Mbps to 12/2 Mbps. I initially thought this was due to the download and upload speed (ingress) settings, which I adjusted to match my actual internet speeds. After doing this, my upload and download speeds changed to 30/30 Mbps with SQM turned on, but my bufferbloat test grade dropped from a D to an F.
    Do you know what could be causing this? I would greatly appreciate any advice you can offer to help me improve the performance.

    • @kmprojects2023
      @kmprojects2023  2 месяца назад +1

      So yeah. Here's the thing. I didn't (and should have) go over this in the video.. you need to set your download/upload to some % of your actual tested speed. 80% of each would be a great start. Buffer bloat, at least as I understand it, happens because your link becomes saturated and it induces latency in packet transmission. As well, a device that has a "CPU" that isn't powerful enough can add to the problem. Set your maximum download/upload speeds to something lower and try again.

    • @advertentiegolf
      @advertentiegolf 2 месяца назад +1

      @@kmprojects2023 okay good point. I will try to set it at 80% and see the results I am getting from there! Thanks for your comment

    • @advertentiegolf
      @advertentiegolf 2 месяца назад +1

      Update: the 80% wasn't the issue for me. I transitioned from a ziggo tp archer c7 v2 to an old LEDE version. After back and forth going to stock TP-link fw and then to the newest openwrt versions it appeared to work fine. But still QoS somehow is much better than SQM for me. I believe its because its also partly dependent on the processing power and with my older router it might not be strong enough. Also people have to check if they are using (V)DSL(2) or not, because there are some advanced settings for that which makes it much smoother if those are setup. In fact it can go to the extent of working properly vs not working at all. Anyway thanks for your video. I definitely saved it and will apply it soon to more modern routers!

  • @tonyscalleta
    @tonyscalleta 3 месяца назад +1

    Thank you so much for this!

  • @nevensukara498
    @nevensukara498 6 месяцев назад +1

    In the video the external_ip command is added in the wrong section of the settings. In order to work, it should be added under the first section named "config upnpd 'config'" and not under the "config perm_rule".

    • @kmprojects2023
      @kmprojects2023  6 месяцев назад

      Interesting! I reviewed a few guides before I made this video... either I screwed up... or, those other guides were wrong! I'm at work, but I am definitely going to have a look later. Thank you for watching and providing this comment!!!

    • @Unknown-wb1bf
      @Unknown-wb1bf 13 дней назад

      Sooo? What happens did you have a look at it? ​@@kmprojects2023

  • @X5abeerX
    @X5abeerX 10 месяцев назад +1

    Very useful video, thanks

    • @kmprojects2023
      @kmprojects2023  10 месяцев назад

      Thank you for watching and commenting!

  • @hamed2011
    @hamed2011 11 месяцев назад +2

    that external ip steps is important or just optional? because im using dynamic type so every time im turning on my LTE router it get new ip

    • @kmprojects2023
      @kmprojects2023  11 месяцев назад +1

      So from what I've read, you only need to configure your external IP in that config file if your NAT type does not appear as open. It's a glitch as far as I understand. In my case, I had to do this. Thank you for watching and commenting!

  • @jettangeles2707
    @jettangeles2707 Год назад +1

    those hardware is definitely better than any of the stuff that's coming out of the routers right now. anyway, i currently have openwrt installed on wrt3200acm and when i turn on sqm, its also affecting wireless connectivity. i wonder if there's a way to just enable this on wired connections?

    • @kmprojects2023
      @kmprojects2023  Год назад

      So actually, my WiFi is a completely different subnet than my LAN and is actually physically different cabling too.. My ISP allows two public IP addresses... so I have an Asus router getting one of those public IPs directly and my WiFi is configured on that Asus router. The other public IP is connected to my "personal" LAN at my home. The only devices on my LAN are my computer and my servers. So when I configure SQM, it is only affecting my LAN/subnet.

  • @heni63
    @heni63 10 месяцев назад +1

    Thank you

    • @kmprojects2023
      @kmprojects2023  10 месяцев назад

      You are totally welcome! Thank you for watching and commenting.

  • @mohammedimran
    @mohammedimran Год назад +1

    Umm, why did you add a option for external IP, can you explain?? and what about if your IP is dynamic ?

    • @kmprojects2023
      @kmprojects2023  Год назад +1

      So essentially, upnp is an automatic and on demand way to open ports for software. When you create a "classic" port forward, (as in manually creating a port forward) you are redirecting a specific port from your WAN to a machine on your LAN. The device you create a port forward on will just know what your WAN IP is. With upnp, specifically upnp in openwrt, I read that there are times where upnp will not work unless you explicitly tell the service what your external IP is. When testing for this video, I could not get upnp to work unless I added this option. So, I included it in the video.
      My External IP is also dynamic. However, it literally has not changed in years. As a matter of fact, I used to pay for a DDNS service so I could use a hostname rather than my external IP. For example, I used to RDP to my home computer from work, so in the RDP connection, I just used my DDNS hostname rather then explicitly inputting my public IP. But since mine never seems to change, I cancelled that service long ago. I suppose in this example, one could frequently check their external IP and just update the openwrt upnpd file with the new external IP as needed.

  • @SamKatakouzinos
    @SamKatakouzinos Год назад

    This is interesting. I have 500/50 speeds with an ASUS RT-AC68U router. I also have ipv6 turned on which ruins any attempt to mitigate bufferbloat.
    Does OpenWRT work well with ipv6 AND handling bufferbloat?

    • @kmprojects2023
      @kmprojects2023  Год назад +1

      So I actually disable ipv6 on my NICs (and software router) as I don't feel the need to use it. However, looking around in various forums about OpenWRT and ipv6, it seems some ppl do experience slowness issues after enabling SQM. I might have to dig into this a bit to see whats what.

  • @pashachoo
    @pashachoo Год назад

    Hi, good video and explain
    But whats about edge router x (about 100$) with sqm (codel fq), there is more simple to install and use for (200mbit ethernet with sqm).
    I think open wrt with good hardware more useful for eth connections over 300mbit
    Whats your thoughts?

    • @kmprojects2023
      @kmprojects2023  Год назад +2

      I see that this device is supported on the latest version of OpenWRT. However it seems that the install process is quite involved with this particular device. May drive off the average user. I too would like to have an off the shelf network device to install OpenWRT on.. However, like most ppl in this world, times are tough when it comes to money. I am no exception. To the point of this video, I thought I would use hardware I already had laying around. As well, if you did need to purchase some hardware, 10 to 15 year old CPUs and Motherboards are quite cheap. Maybe in the future I will find some suitable dedicated networking device that supports OpenWRT and i'll make another video.
      Thank you very much for watching and commenting! This is exactly kind of interaction this channel needs to grow!

    • @pashachoo
      @pashachoo Год назад

      @@kmprojects2023 thank you for answer, edge router x supports sqm from factory i guess, inside edge os u can turn in on.
      But if u already have old pc, u can use open wrt to make sqm )
      Anyway great work 💪🏻

    • @pashachoo
      @pashachoo Год назад

      Also have question)
      Example: i had router with qos, where i fixed bufferbloat by lowering bandwidth and on qos, (-25%speed and qos), that fixed my bufferbloat from C to A+ , and games feels better and good hit registration)
      And question:
      Will i feel different with SQM vs Qos in games, where bufferbloat the same? Sqm make queue for packets, when qos make only priority for packets.
      Thank you for answer and attention 💪🏻

    • @kmprojects2023
      @kmprojects2023  Год назад +2

      I honestly think that most people, including me, would NOT notice a difference in FPS games whether they have buffer bloat or not. I just feel this a piece of mind thing for me while I am gaming. If I lose a snap shot or "instant" gun battle (like running around the corner in a map and running into an enemy), then I know I just suck and it's not because of buffer bloat. lol

    • @LBUK.
      @LBUK. Год назад +1

      Edge router x uses a old version SQM called 'Fq_codel' Openwrt uses the latest SQM called ‘piece_of_cake' this is the only reason I flashed openwrt on my edge router x, however, Fq_codel is perfectly fine and will get you A+ 😊

  • @keylokush
    @keylokush 5 месяцев назад +1

    hey guys ive been dealing with this issue only when i play games online at my apt now for almost 10 years wher it just feels unpleasant on the eyes witha lmost a delay but im not lagging its just not smooth i have a good pc so it cant be that ,i switched isp nothing seems to help but when i disconnect from the internet my games feel nice and snappy as they should i would really apreciate any help from anyone but im not like crazy tech savvy lol

    • @kmprojects2023
      @kmprojects2023  5 месяцев назад

      Hard to say... Need much more detail.
      What games?
      What are your system specs. Like in every detail.
      Mobo -
      CPU -
      RAM and speed -
      Storage type -
      Graphics card -
      Monitor brand and refresh rate. (60 hz? greater that 60 hz?)
      Wifi or hard wired?
      Recent bandwidth test results (Up/Down)
      etc.

    • @keylokush
      @keylokush 5 месяцев назад

      @@kmprojects2023 so to save a long story short pretty much top notch in every department 240 hz asus strix 1080p monitor,Tuf rtx 3080, 2 /8 gig sticks of tf-force duel channel,tuf gaming motherboard , rx 5800x cpu , but i have been reading up on this thing called bufferbloat and comments literaly to a T explain what i am experiencing would you happen to possibly shed some light because i do live in an apt building and isp always tells me everything is fine on their end it really is like unspleasant on the eyes and does stop you from playing competetively in any way witch literally takes all the fun out srry if i didnt give the correct info like exact specs i will have to look it all up but im sure but all modern speeds seemd noraml it is a weird issue

    • @keylokush
      @keylokush 5 месяцев назад

      @@kmprojects2023 also at time not all the time but at night i have noticed like wee hours into the night after 4am or something all the sudden the games feel like normal as they should i am also the only one using the internet hardwired 100mb dl, 10upoud, and any game online basically i have to resort to playing turn based card games because that is the only way i dont get punished its super odd but offline super snappy and responsive no sluggishness almsot

    • @kmprojects2023
      @kmprojects2023  5 месяцев назад

      Well, let's test for packet loss first. Do a continuous ping to some URL:
      Like this: open a command prompt, type, ping -t crayola.com
      (I am just using Crayola.com as an example)
      Watch the pings happen for a while. They should be consistent with no drops. The last part of every ping line is your latency measured in "ms" (milliseconds) the lower that number the better. They should be consistent too. After a few mins, you can hit the key combination control c to stop the continuous ping. You'll see some stats
      Pings sent, reply received. Post those here.

  • @scozzy4656
    @scozzy4656 7 месяцев назад

    I went through the UPNP tutorial and everything worked but I'm still looking at a moderate NAT type. Any ideas?

    • @kmprojects2023
      @kmprojects2023  7 месяцев назад +1

      I am at work right now but off the top of my head I would check two things. 1, make sure that configuration file where you had to input your external IP is 100% correct. 2, Completely disable the Windows firewall on your computer. As well, every once in a while, (not often) I will still see moderate NAT type. I am not sure why it still does that.

  • @tuapuikia
    @tuapuikia Год назад +1

    I just use this option in cake sqm. I have powerful x86 router box.
    rtt 10 nat dual-dsthost diffserv4 ingress triple-isolate

    • @kmprojects2023
      @kmprojects2023  Год назад

      Hmm Interesting options to configure with. I will be testing this for sure! One thing I did not get into with our video is that you should actually measure your available bandwidth and set some fraction of that in sqm. Otherwise your download speeds will tank if you just use whatever the defaults are. Thank you for watching and commenting!

    • @mikeyy233
      @mikeyy233 Год назад

      where do u put the rtt 10 command at?

  • @ZAZA-zu4ld
    @ZAZA-zu4ld 6 месяцев назад

    how much for you to optimize my internet i did have trouble...

    • @kmprojects2023
      @kmprojects2023  6 месяцев назад

      I'm not really in the position to be doing paid work. I actually used to do IT consulting doing tasks related to what I normally do for IT work but I stopped doing that.

    • @captainspaulding7612
      @captainspaulding7612 2 месяца назад

      You still need help ?

    • @ZAZA-zu4ld
      @ZAZA-zu4ld 2 месяца назад

      @@captainspaulding7612 yeah

    • @captainspaulding7612
      @captainspaulding7612 2 месяца назад

      @@ZAZA-zu4ld give me your instagram i will do my best to help you

  • @ZAZA-zu4ld
    @ZAZA-zu4ld 6 месяцев назад

    every time I open openwrt after download it says "the disc image file" is corrupted why?

    • @kmprojects2023
      @kmprojects2023  6 месяцев назад

      Please give me some more context... What do you mean by "open" OpenWrt?

    • @ZAZA-zu4ld
      @ZAZA-zu4ld 6 месяцев назад

      @@kmprojects2023 after I downloaded the efi file and move another folder and try to open the file it says "the disc image file" is corrupted do you know possibly why? Do you think you could possibly help or I pay to have you optimize my internet for open nat type I would appreciate it.

    • @kmprojects2023
      @kmprojects2023  6 месяцев назад

      Sorry, I don't do IT consulting anymore. What hardware are you trying to install openwrt on?

    • @ZAZA-zu4ld
      @ZAZA-zu4ld 6 месяцев назад

      @@kmprojects2023 windows 10

    • @kmprojects2023
      @kmprojects2023  6 месяцев назад

      Openwrt is its own operating system. My question was: are you installing openwrt on computer hardware or some supported networking device? Without understanding what it is you are actually doing, I cannot successfully answer your question.

  • @mostafahussein7946
    @mostafahussein7946 7 месяцев назад

    Can you add modem module into x86 router and stop using gateway modem to save power ?!

    • @kmprojects2023
      @kmprojects2023  7 месяцев назад +1

      If by "gateway" modem you are referring to your ISP modem, I highly doubt it. Your ISP would most certainly only allow their modem devices to be registered on their network.

    • @mostafahussein7946
      @mostafahussein7946 7 месяцев назад

      @@kmprojects2023 i think this can be bypassed by changing mac address :)

    • @mostafahussein7946
      @mostafahussein7946 7 месяцев назад

      ​@@kmprojects2023i think this can be bypassed by changing mac address 🙂

    • @kmprojects2023
      @kmprojects2023  7 месяцев назад +1

      Not really sure to be honest. I would think your ISP would have more security than just relying on a MAC address of their hardware.

  • @Aymen-ye3kv
    @Aymen-ye3kv 8 месяцев назад

    What if my routeur does not support bridge mode

    • @kmprojects2023
      @kmprojects2023  7 месяцев назад

      Your isp router may have some QOS settings you can mess around with.

  • @gr33n83
    @gr33n83 Год назад +1

    u just ratelimited your 1 gigabit download and 100mbit upload connection to 80mbit down and 10mbit up u also need to set the speed values in the sqm-script

    • @kmprojects2023
      @kmprojects2023  Год назад

      You are correct sir! In the video, I didn't want to get into explaining that you should measure your bandwidth up/down and set some % of that. Like 80% of your download speed etc. Thank you for the comment.

    • @advertentiegolf
      @advertentiegolf 2 месяца назад

      omg bro I had this exact issue, I hope this was mentioned. I saw my speeds decrease

  • @LikquidDutch
    @LikquidDutch 10 месяцев назад

    this made my connection worse followed your steps . Had an A now have a B

    • @kmprojects2023
      @kmprojects2023  10 месяцев назад

      Hmm you may want retrace the configuration steps you took. Also, you can just disable this entirely and be back where you started.