<?xml version="1.0" encoding="utf-8" ?><transcript><text start="11.96" dur="2.64">Hi, my name is chris and this is Battlenonsense</text><text start="14.62" dur="3.389">I guess every gamer at least once encountered
the following problem.</text><text start="18.009" dur="4.1">You are playing a game you really like, everything
is fine, and you are doing great.</text><text start="22.109" dur="3.701">But then, out of the blue your ping is going
crazy, your shots are no longer registering</text><text start="25.81" dur="3.68">and you get a lot of rubber banding.
should this happen while you are playing ranked,</text><text start="29.49" dur="4.81">then your skill rating will probably suffer
as a result which makes this even more infuriating.</text><text start="34.3" dur="3.17">So, what could cause this issue:</text><text start="37.47" dur="4.75">The game server could experience a performance
problem, which you can’t do anything about.</text><text start="42.22" dur="3.05">It could also be your internet connection
that is failing – where you will have to</text><text start="45.27" dur="3.21">contact your ISP to get it fixed</text><text start="48.48" dur="4.95">Or your WiFi connection degraded as a result
of interference, bad weather or other users</text><text start="53.43" dur="2.28">eating up too much bandwidth.</text><text start="55.71" dur="5.54">WiFi is really a very bad choice for playing
online, especially when you play ranked.</text><text start="61.25" dur="3.92">But the most common cause of this issue – is
that your router is suffering from buffer</text><text start="65.17" dur="4.73">bloat – which basically means that the games
data packets queue up inside the router or</text><text start="69.9" dur="5.27">even get dropped by the router when someone
or something else is eating up all your available</text><text start="75.17" dur="4.81">bandwidth and the router is unable to prioritize
the data packets of real time applications</text><text start="79.98" dur="1.71">such as online games.</text><text start="81.69" dur="5.11">So, to find out if your router is affected
by buffer bloat, you just have to use a network</text><text start="86.8" dur="6.109">cable to connect your PC directly to the router,
and then run a speed test on dslreports.com</text><text start="92.909" dur="2.521">– a link is in the description down below.</text><text start="95.43" dur="4.34">Please do not you use Wi-Fi for this test
as you might not get conclusive results then,</text><text start="99.77" dur="3.959">since your Wi-Fi might provide less bandwidth
than what you get from your Internet service</text><text start="103.729" dur="1.32">provider.</text><text start="105.049" dur="4.631">Now during the test, you can see how maxing
out your connection affects your ping.</text><text start="109.68" dur="4.84">If the buffer bloat rating shows anything
but an A or A+, then you will experience ping</text><text start="114.52" dur="5.34">spikes, packet loss and rubber banding when
someone or something else maxes out your up</text><text start="119.86" dur="2.71">or downstream connection while you are gaming.</text><text start="122.57" dur="5.07">I had this issue every time my wife got home,
it was almost like she could make our internet</text><text start="127.64" dur="2.319">connection fail so that I would stop playing.</text><text start="129.959" dur="4.76">But what really happened was that her phone
began to sync pictures with one drive as soon</text><text start="134.719" dur="4.33">as her phone connected to our Wi-Fi, and I
then suffered from massive ping spikes as</text><text start="139.049" dur="4.401">our ISP router did not prioritize the data
of the game that I was playing.</text><text start="143.45" dur="2.48">So, what can you do to fix that issue.</text><text start="145.93" dur="5.279">There are many very expensive so-called gaming
routers out there which claim to fix lag,</text><text start="151.209" dur="4.661">or have awesome Quality of Service rules to
ensure a great online experience.</text><text start="155.87" dur="4.53">You can actually find a video on my channel
where I tested the Netduma r1 and a Nighthawk</text><text start="160.4" dur="1.679">from netgear.</text><text start="162.079" dur="4.24">However many of these gaming routers only
affect the downstream traffic and ignore the</text><text start="166.319" dur="5.39">upstream, others need and up to date external
databases to detect the network traffic of</text><text start="171.709" dur="3.93">applications, and then there are routers which
only do bandwidth management on a per device</text><text start="175.639" dur="5.11">basis, where you can then say that i.e. your
PC gets more bandwidth than your wife’s</text><text start="180.749" dur="6.28">phone but this does not help you a bit when
uplay, steam or origin download a big patch</text><text start="187.029" dur="2.35">while you are playing Overwatch on the same
PC.</text><text start="189.379" dur="5.741">So, I guess that you don’t like these solutions
more than I do, luckily there is an alternative</text><text start="195.12" dur="2.619">called SQM or Smart Queue Management.</text><text start="197.739" dur="4.61">Simply put, SQM will ensure that the router
prioritizes data from real time applications</text><text start="202.349" dur="4.51">such as online games so that their data does
not get delayed or dropped.</text><text start="206.859" dur="4.36">And the best thing about it is that you literally
just have to turn it on – no further complex</text><text start="211.219" dur="4.52">configuration required – unless you really
want to do some very special configurations</text><text start="215.739" dur="1.51">and rules.</text><text start="217.249" dur="4.47">Now before you buy a new router which supports
SQM, you might want to check if you can install</text><text start="221.719" dur="5.52">a custom firmware like OpenWRT which also
features SQM.</text><text start="227.239" dur="4.651">The reason why I am not going to dive into
this subject in todays video, is that depending</text><text start="231.89" dur="5.239">on your router the process of installing a
custom firmware can be both very risky and</text><text start="237.129" dur="1.03">very complex.</text><text start="238.159" dur="4.9">The SQM performance also depends on the processing
power of your router, so its quite likely</text><text start="243.059" dur="4.201">that your current one will not be able to
utilize your full up and downstream bandwidth</text><text start="247.26" dur="1.959">when SQM is enabled.</text><text start="249.219" dur="4.77">So, what I want to do in today’s video,
is guide you through the basic setup process</text><text start="253.989" dur="4.34">of an Edge Router X from Ubiquity, which has
a Smart Queue traffic shaping performance</text><text start="258.329" dur="2.731">of at least 100Mbits per second.</text><text start="261.06" dur="4.8">Which means that if you have an internet connection
with up to 100Mbits per second then the processing</text><text start="265.86" dur="4.06">power of this router will not become a bottleneck.</text><text start="269.92" dur="5.559">But if you have a 200Mbits connection, then
you will probably end up with about 120Mbits</text><text start="275.479" dur="4.961">per second with Smart Queue enabled as the
CPU of the Edge Router X will then become</text><text start="280.44" dur="1">a bottleneck.</text><text start="281.44" dur="4.4">There is a very nice performance table inside
the EdgeOS manual which shows you what you</text><text start="285.84" dur="2.359">can expect with Smart Queue enabled.</text><text start="288.199" dur="4.09">However please always expect the lowest value
to be the maximum bandwidth that you will</text><text start="292.289" dur="4.261">get with Smart Queue enabled, as the performance
depends on the size of the packets that are</text><text start="296.55" dur="4.589">sent and received as well as what else the
router has to do – like port forwarding</text><text start="301.139" dur="2.121">and fire wall rules.</text><text start="303.26" dur="4.559">The reason why I choose Ubiquiti’s Edge
Router X over their UniFi Security Gateway</text><text start="307.819" dur="5.66">is that the USG is basically an EdgeRouter
Lite, and that has a traffic shaping performance</text><text start="313.479" dur="3.91">of just 60 megabits per second due to its
weaker CPU.</text><text start="317.389" dur="5.5">So, while the WebGUI of the EdgeRouter X is
not as nice as the one of the UniFi controller,</text><text start="322.889" dur="4.661">I recommend the Edge Router X over the USG
as it much costs much less while providing</text><text start="327.55" dur="3">more bandwidth when Smart Queue is enabled.</text><text start="330.55" dur="5.209">Now unlike most other routers, neither the
EdgeRouter nor the USG come with WiFi.</text><text start="335.759" dur="4.791">But that’s not really an issue as you can
just add one or multiple UniFi access points.</text><text start="340.55" dur="4.089">So for less than what most of these so call
gaming routers cost you get a router that</text><text start="344.639" dur="5.05">is really great for playing games online and
WiFi that will trump what most other routers</text><text start="349.689" dur="2.081">have built right into them.</text><text start="351.77" dur="3.639">In the description down below, you can find
links to these devises on amazon</text><text start="355.409" dur="4.38">and later in the video I will tell you how
you get a chance to win these two as I am</text><text start="359.789" dur="4.741">going to give away the Edge Router X and the
Unifi Access Point that I use for this setup</text><text start="364.53" dur="1">guide.</text><text start="365.53" dur="4.811">I also want to make clear that this video
was not sponsored by ubiquity, nor do I get</text><text start="370.341" dur="1.629">paid for promoting their products.</text><text start="371.97" dur="5.189">I’ve been using and installing their products
for more than a year now and since I and my</text><text start="377.159" dur="5.28">customers are very happy with their performance
and the low prize, I simply want to make more</text><text start="382.439" dur="3.921">gamers aware of their products as they really
help to enhance your experience when you are</text><text start="386.36" dur="1.709">playing online.</text><text start="388.069" dur="2.66">So how do we get that setup up and running.</text><text start="390.729" dur="3.44">First of all, if you are doing this for the
first time then you should reach out to your</text><text start="394.169" dur="3.72">internet service provider and tell them that
you want to use your own router.</text><text start="397.889" dur="4.491">I know that there are still countries and
providers where this might not even be possible,</text><text start="402.38" dur="4.34">so if you are not sure if you can just use
your own router then please talk to your ISP</text><text start="406.72" dur="1.52">before you buy one.</text><text start="408.24" dur="5.86">Okay so before we even power up the EdgeRouter
X we must go to the ubnt.com website, and</text><text start="414.18" dur="2.16">download the latest firmware.</text><text start="417.44" dur="4.74">Next power up your Edge Router X and then
connect your PC to eth0</text><text start="422.76" dur="7.86">Open the network settings on your PC and set
the IP address to 192.168.1.2</text><text start="434.9" dur="5.36">Then use a web browser and go to 192.168.1.1</text><text start="441.58" dur="2.74">Use ubnt for the username and password</text><text start="445.06" dur="2.74">Accept the licence agreement and click on
login</text><text start="448.6" dur="4.9">Now go to system, Upgrade System Image and
click on upload a file</text><text start="454.3" dur="5.02">Then select the firmware image that you downloaded
from the ubnt website and click open.</text><text start="459.74" dur="4.78">After the image has been uploaded to the EdgeRouter
you have to reboot it and then wait until</text><text start="464.52" dur="1.42">it applied the update.</text><text start="466.56" dur="5.48">Then login again using ubnt for both the username
and the password – and if the firmware update</text><text start="472.04" dur="3.73">went through then you should see the correct
version up here in the top left.</text><text start="476.3" dur="2.52">Now it’s time to configure the router.</text><text start="478.82" dur="2.14">Click on the Wizards tab and then select basic
setup.</text><text start="481.62" dur="3.16">Then choose the port to which
you will connect your ISP modem to.</text><text start="485.38" dur="2.3">Then you need to set the internet connection
type.</text><text start="487.69" dur="3.67">This is where you probably have to talk to
your internet service provider to find out</text><text start="491.36" dur="1.899">what you need to use here.</text><text start="493.259" dur="5.803">Some of you might just need DHCP, others will
have to use a Static IP address or use PPPoE</text><text start="499.062" dur="1.467">with a user and password.</text><text start="500.529" dur="4.94">I asked my ISP what I need to do to run my
own router, so I know that I have to select</text><text start="505.469" dur="11.601">StaticIP and then enter 172.16.254.50 for
the address of eth0, 172.16.254.1 as gateway</text><text start="517.07" dur="2.58">and for DNS I can choose whatever I want.</text><text start="519.65" dur="5.08">For a basic setup you don’t need to touch
any of the other settings, except for the</text><text start="524.73" dur="5">User setup where you should at least use a
secure password for the default ubnt user.</text><text start="529.73" dur="5.52">After you clicked Apply Changes the router
will reboot and then use the new configuration.</text><text start="535.25" dur="6.53">While it’s doing that you then connect your
PC to eth1 and your ISP modem to eth0 as that</text><text start="541.78" dur="3.2">is the internet port that we used in the setup
wizard.</text><text start="544.98" dur="3.94">Then you go to the properties of your ethernet
adapter where you change the IP address as</text><text start="548.92" dur="5.64">well as the DNS settings back to DHCP so that
you get a new IP address from the Edge Router X.</text><text start="555.16" dur="4.68">After that you login again with the user and
password that you set inside the wizard</text><text start="559.85" dur="4.26">Now to find out your maximum up and downstream
bandwidth you should do at least one speed</text><text start="564.11" dur="6.19">test on dslreports.com or another speed test
that works better for your location.</text><text start="570.3" dur="5.5">Then remember the result of the speed test,
go to the QoS tab, enter a policy name, select</text><text start="575.8" dur="5.36">the WAN interface, enter the upload and download
bandwidth, and click apply.</text><text start="581.16" dur="4.58">In case that you had to use PPPoE for your
internet connection type, you need to choose</text><text start="585.74" dur="2.92">PPPoE as WAN interface here.</text><text start="589.06" dur="4.9">With smart queue enabled you should do another
speed test on dslreports, where your</text><text start="593.97" dur="5.12">buffer bloat rating should now show an A or A+ which
means that you will no longer get massive</text><text start="599.09" dur="4.03">ping spikes when your wife’s phone starts
to upload pictures to the cloud.</text><text start="603.28" dur="2.76">Another marriage saved by Smart Queue Management.</text><text start="606.78" dur="4.82">So that is basically everything that you need
to do to get the Edge Router X up and running.</text><text start="611.61" dur="5.17">Games usually do not require that you forward
specific ports to your PC or console, in fact</text><text start="616.78" dur="3.73">you can even make matters worse by setting
up port forwarding rules, like when you have</text><text start="620.51" dur="5.18">more than one PC that you play games on, or
when a port is also used by another device</text><text start="625.69" dur="1.33">or service.</text><text start="627.02" dur="3.92">You should only use port forwarding when you
experience issues in a game</text><text start="630.94" dur="3.78">where a moderate NAT status is not necessarily an issue.</text><text start="634.72" dur="4.99">What can also help to troubleshoot connectivity
issues, or a strict NAT status is to enable</text><text start="639.71" dur="3.08">UPnP or universal plug and play.</text><text start="642.79" dur="5.91">UPnP allows i.e. Skype to have the router forward specific ports to the device where skype is running on.</text><text start="649.08" dur="5.52">It essentially allows any UPnP device to punch
a hole into your firewall, which is obviously</text><text start="654.6" dur="5.41">a security risk where you really have to trust
all devices and applications in your network.</text><text start="660.01" dur="5.03">So, if you want to enable UPnP then you can
do that here inside the wizard where you just</text><text start="665.04" dur="5.72">have to select your internal or LAN interface,
in my case that’s switch0 as that will the</text><text start="670.76" dur="5.85">apply to eth 1 2 3 and 4,
and eth0 for the external interface as that’s</text><text start="676.61" dur="2.31">what I selected for the internet connection
type.</text><text start="678.92" dur="5.58">Again, if you had to choose PPPoE then you
need to select that as your external interface.</text><text start="684.96" dur="3.82">So that will enable UPnP on any Edge Router.</text><text start="688.78" dur="5.14">But if you want to use the newer upnp2 then
you will have to get your hands dirty by either</text><text start="693.92" dur="2.78">using the CLI or SSH into the Edge Router.</text><text start="696.7" dur="5.28">I will put a link in the description down
below which explains how to enable upnp2.</text><text start="702.52" dur="5.46">Now what if you don’t trust UPnP or if you
have to forward ports to specific devices</text><text start="707.98" dur="1.56">in your network.</text><text start="709.54" dur="4.72">In that case you should first go to services
and select view details from the</text><text start="714.26" dur="2.92">actions drop down menu down menu of the DHCP service.</text><text start="717.18" dur="5.12">Here you can then change the DHCP range where
I like to limit it to about 100 addresses</text><text start="722.3" dur="3.28">and I also like to use the google DNS servers.</text><text start="725.58" dur="4.96">Now for port forewarning to work the destination
PC or console must always use the same IP address.</text><text start="731.16" dur="5.12">To ensure that you could either manually set
a static IP address which is outside the DHCP range,</text><text start="736.62" dur="5.1">Or you could use the Map Static IP feature
inside the DHCP service, which will then remember</text><text start="741.72" dur="4.79">that device based on their MAC address and
always assign the same IP address to it.</text><text start="746.51" dur="3.53">Now to create a port forwarding rule you must
go to the Firewall tab</text><text start="750.04" dur="5.92">Select your WAN interface, where again, if
you use PPPoE you have to select PPPoE not eth0</text><text start="756.46" dur="1.54">Then select your LAN interface</text><text start="758.28" dur="5.42">Enter the original or incoming port, select
the protocol, the LAN IP address that you</text><text start="763.7" dur="5.03">want to forward this data to, the internal
port that you want to forward it to,</text><text start="768.73" dur="1.63">as well as a description.</text><text start="770.36" dur="2.89">You can also add additional rules in case
that you need more.</text><text start="773.25" dur="2.69">And don’t forget to click apply once you
are done.</text><text start="776.38" dur="4.68">Once you finished setting up your Edge Router, you should go to system and then download</text><text start="781.07" dur="1.82">a backup file of the configuration.</text><text start="782.89" dur="4.05">You should also do that again after you upgraded
the firmware or when you did further changes</text><text start="786.94" dur="4.14">to the configuration as you can restore a
router very quickly when you have an</text><text start="791.08" dur="2.7">up to date backup of the configuration.</text><text start="793.78" dur="2.54">So now we need to take care of the access
point.</text><text start="796.7" dur="4.98">First of all you connect the LAN port of the
PoE injector to one of the ethernet ports</text><text start="801.68" dur="5.9">of the Edge Router, and then you connect the
access point to the PoE port on the PoE injector.</text><text start="807.94" dur="3.24">Ubiquiti’s Unifi devices do not have a WebGUI.</text><text start="811.28" dur="6.02">Instead you use the Unifi Network management
controller to manage all unifi devices in your network.</text><text start="817.76" dur="6.04">But unlike other centralized management systems,
a Unify USG, switch or access point will still work</text><text start="823.8" dur="4.31">even when the unif controller is not
running – unless you use special features</text><text start="828.11" dur="2.77">like the captive portal for guest logins of
course.</text><text start="831.18" dur="4.79">So, if you deploy multiple Unifi devices in
your parents’ house, or a customer’s house,</text><text start="835.97" dur="5.39">then I recommend to go for the Unifi Cloud
key which is not only running the Unifi controller</text><text start="841.36" dur="5.06">software, but also allows easy remote access,
which means that you can do config changes</text><text start="846.42" dur="6.38">or firmware upgrades remotely without having
to setup a VPN connection or do insecure port forwarding.</text><text start="853.24" dur="3.36">However, in our case a cloud key is overkill.</text><text start="856.61" dur="4.74">So what I will do instead is go to the ubnt
website and download the Unifi controller</text><text start="861.35" dur="1.63">software for windows.</text><text start="864.68" dur="4.14">Once the controller is running you click on
launch a browser to manage the network</text><text start="868.83" dur="2.75">Then you select your country and click next</text><text start="871.58" dur="4.37">Now you get a list of all Unifi devices in
your network, where you can then select the</text><text start="875.95" dur="2.21">access point and click next</text><text start="878.16" dur="6">Then enter a SSID or name for your Wi-Fi and
choose a secure key or password which is required</text><text start="884.16" dur="1.9">to access the wireless network.</text><text start="886.48" dur="3.46">Now to access the controller you need to create
an admin user.</text><text start="890.12" dur="4.46">Then click next, make sure that the configuration
is correct and finish.</text><text start="894.58" dur="5.58">Now you get the login box for the UBNT cloud
access, which you would need when you want</text><text start="900.17" dur="3.63">to remotely access a site on which you run
the Unifi cloud key.</text><text start="903.8" dur="3.58">But since we have a local installation of
the controller which is not running all the</text><text start="907.38" dur="5.99">time you have to select skip and then login
with the admin user that you just created.</text><text start="913.37" dur="3.97">Now click on wireless LAN
And upgrade the firmware of the access point</text><text start="920.84" dur="5.82">After the upgrade finished click on the access
point and go to tools where you start an RF scan.</text><text start="927.18" dur="4.94">The access point will now scan for other wireless
LAN networks and then choose the best channels</text><text start="932.12" dur="4.07">for both the 2.4 and 5Ghz bands.</text><text start="936.19" dur="1.6">Once it finished the scan you are done.</text><text start="937.79" dur="4.13">There is no further configuration required
for a basic WiFi setup.</text><text start="941.92" dur="4.5">However, if you want to, then you could change
the name of the access point, you could manually</text><text start="946.42" dur="5.82">change the settings of the 2.4 and 5ghz radios,
you could setup a separate WiFi network for</text><text start="952.24" dur="4.76">the 5Ghz band, you could create a
guest network where users have bandwidth limits</text><text start="957" dur="4.53">and can’t access other devices on your LAN,
or you could do a lot more.</text><text start="961.53" dur="4.71">However if you just want to have WiFi, then
you don’t need to do anything else.</text><text start="966.24" dur="2.35">Except a backup of the configuration.</text><text start="968.59" dur="5.89">So that’s it, now you have good Wi-Fi and
a router which prioritizes the data of online games.</text><text start="975.12" dur="4.12">However even though the Unifi access point
is a very good device, you should still</text><text start="979.24" dur="3.99">not use Wi-Fi for online gaming, especially when
you play ranked.</text><text start="983.23" dur="4.49">Even with this setup you can still run into
issues when you use Wi-Fi as it can be affected</text><text start="987.72" dur="4.4">by interference and the distance between you
and the access point, as well as the walls</text><text start="992.12" dur="5.92">or ceilings between you and the access point
have a big impact on the quality of the Wireless connection.</text><text start="998.8" dur="3.92">You can find links to the Edge Router X as
well as the Unifi Access point in the description down below,</text><text start="1002.72" dur="5.34">where I also explain what you
have to do for a chance to win these 2 devices</text><text start="1008.06" dur="2.39">that I used for this setup guide.</text><text start="1010.45" dur="3.75">Now if you enjoyed this video, then it would
be great if you could support me on patreon.</text><text start="1014.2" dur="5.04">Without the awesome support that I get from
my patrons my channel could simply not exist anymore.</text><text start="1019.66" dur="3.68">So, if you like my work then you can find
a link to my patreon in the description down</text><text start="1023.35" dur="3.17">below, where you can also do a one time donation.</text><text start="1026.52" dur="3.27">If you want to stay up to date on what I am
currently working on then you can follow me</text><text start="1029.79" dur="3.72">on twitter or facebook, the links are also
in the description of this video.</text><text start="1033.51" dur="3.35">And if you don’t want to miss the next one
then you might want to subscribe to my channel</text><text start="1036.86" dur="4.62">and click on that bell icon below this video
to receive a notification when I upload the next one.</text><text start="1041.96" dur="3.7">So, if you enjoyed this video then give it
a like, subscribe for more and I hope to see</text><text start="1045.67" dur="3.41">you next time
until then, have a nice day and take care,</text><text start="1049.08" dur="2.6">my name is chris and this was battlenonsense</text></transcript>