Skip to main content

Ferry Bring Peoples From Side To Side On Mekong River Of Cambodia

  Ferry Bring Peoples From Side To Side On Mekong River Of Cambodia Hi Friends, Welcome to my blogger "168 168 Never Quit". This is my new video. if you like this video so please comment, share, subscribe. Thank you very much Rorn Entertainment Channel Mix Plants Along The Street

Internet with OPENMPTCPROUTER by ysurac

Is your internet connection fast enough ? Want more ? While you can’t necessarily make one connection much faster, you can however aggregate or bond multiple connections together. Guys, this is not a scam video like so many “get faster internet connections” videos here on YouTube – this is a working technical solution. 

Aggregating or bonding multiple internet connections into one faster connection nearly always follows the same scheme: you buy multiple connections such as DOCSIS, DSL, Starlink or 4G (so it’s not for free) and you rent a virtual server in the internet which you connect to with these various lines and they are then aggregated over there back into a fast line.

You may buy such a solution from various vendors and they may cost up to thousands of dollars depending on the bandwidth. Or – like we do today – we use the free software OpenMPTCPRouter to do the same on the cheap – stay tuned. Quick reminder guys – if you want to skip stuff please use the chapter markers. 

I showed you how to use VPN bonding or Multipath TCP in order to glue multiple slower internet lines together into a faster one. French Software developer Yannick Chabanois, known as Ycarus or by its anagram Ysurac made a great project which is called OpenMPTCPRouter that does exactly that. Today, we will install OpenMPTCPRouter – or let’s call it OMR – in a test lab environment on Proxmox. But first – what is OMR?

Well, the name suggests it all. OMR is open, that means it is open source and free. Free like in freedom but also like in free beer. It’s actually based on OpenWrt. Second, it’s using MPTCP, so Multipath TCP in order to create multiple connections to the internet. Why is that a good thing ? Because MPTCP will be included in the Linux kernel in the future, so it will be free as well, wide spread and here to stay.

Third, it’s a router. Why would you bother ? Well, rather than installing a proprietary software on your PC or on your mobile, it can run transparently in the basement or in a closet on router hardware or on a raspberry pi or – like we do today – in a virtual machine on Proxmox and provide faster internet not only to one device but to the entire household. Now that sounds promising, doesn’t it?

Internet with OPENMPTCPROUTER by ysurac

Free, here to stay, transparent – amazing. So what do you need to install and run this ? First let’s see what you need in real life, in the physical word and then let’s see how I built this in a test lab on Proxmox. In real life, we would first need some hardware to run it on. Yannick has made installer images available for a wide variety of hardware already. 

Router boards like the banana pi R2 and R64 are here, images for the raspberry pi or the Linksys WRT3200ACM as well as generic images for X86 hardware and even ready-made virtual machines. Perfect. So we would need some supported hardware. Next, we would need a VPS – a virtual private server or server or whatever you want to call it. Basically a server that you rent in the internet.

And of course we need at least two connections to the internet. Be it a 4G router or a DSL or DOCSIS router or Starlink or anything else. In my Proxmox test environment I have mocked this up the following way: I am simulating three internet lines with these three Linux LXC containers. The OpenMPTCPRouter (OMR) image will run on a virtual machine here. 

And the VPS will run on another Virtual machine here. Either before or after my perimeter router which is actually OpenWrt from one of my previous. All this is running on a little Intel i5 mini PC that is running Proxmox. There is also a video available on that I will give you a detailed description on how to build this lab environment in thenext episode.

I might also do further episodes on how to install OMR on different hardware. Great, so now let’s first download one of these images. As I will run it in a virtual machine I take that VMDK image here which I then import into my virtual machine on Proxmox using the qm import disk command. In Virtualbox or VMWare you could use this image directly as a disk. 

Just keep in mind that when you run OpenWrt or OpenMPTCPRouter in a virtual machine then the first network interface you give it needs to be the router’s LAN adapter. All the following adapters will be the various WAN adapters which we will then aggregate later. Guys, I will not go too much into detail on how to define these network adapters etc.

If you want to run this in Virtualbox then watch this video here or if you want to run it in the same environment like I do then please get a Proxmox Installation ready until the next episode. Cool, our OpenMPTCPRouter (OMR) boots and is ready for use. Before we start using and configuring it, we need to get the other endpoint ready and this is the VPS. 

In my environment this is just another Virtual Machine. It can’t be a container because it will need its own kernel. So really a VM. Let’s check on Yannick’s GitHub. First I want to point out that Yannick is really working hard on this. See ? There were more than a thousand contributions on his Github the last 12 months. If you compare this to my Github then you can see that I have barely made a hundred. So I am a lazy bug compared to Yannick.

Internet with OPENMPTCPROUTER by ysurac

But enough with the sucking up. Let’s check his openmptcprouter-vps repository and there is actually an installation script for Debian 10 or Ubuntu 20 which we may use and which installs everything for us. The main things that the script does are: First it checks for a supported Linux version, then it installs the required software package repositories. 

It then installs an MPTCP enabled Kernel, activates all needed modules, builds all required software components such as Shadow socks and vray2 and optional VPNs such as Glorytun and OpenVPN, and displays a summary at the end that contains all the necessary access keys. Cool, so let’s log into that virtual VPS and run the script. Takes a couple of seconds or minutes even. While this installation goes on, we will quickly have a short break to allow YouTube to show some ads.

If you see some ads during the next couple of seconds please lean back and relax and maybe use the time to quickly click on that “like” button if you like the episode so far and maybe subscribe to my channel. I’ll be back. Guys, thanks for your patience and most of all thanks for supporting this channel. Ads are an important part of what keeps this channel alive. 

So many thanks for your support. Back to our installation. The installation is finished and then as expected prints the necessary keys. You may want to copy paste this into a text file on a USB stick because we need it in the next step where we actually connect the Router and the VPS. So let’s go back to the OMR. In the virtual environment you need to define a machine here that can show a web browser in order to do that.

I have already done that so let me launch that machine and open a Firefox browser. I browse to 192.168.100.1 which is OMR’s default IP. Under System-OpenMPTCPRouter there is a settings wizard that asks for the VPS Server IP, the username and the Server Key. That’s the key which we got from the output during the VPS installation. 

The default username here is openmptcprouter. In the physical world, this would be the IP address of the VPS. In my Proxmox environment it’s of course a private IP address. Further down we can set the parameters for the network interfaces. I leave the LAN interface as is and just add the three additional interfaces here which in my case are eth1, eth2 and eth3. That’s actually it. Once we click on Save and Apply then we can go to the Status tab here and OMR nicely show us the network layout.

Awesome. Let’s run some tests. Let me run iperf3 from the client to a machine outside of the virtual World. At the same time we will monitor the three shaper machines in order to see if it is really using all interfaces and – yes it is – and the performance is good, all interfaces are used. Perfect. Cool, so as we could see it is actually quite easy to set up OMR. Just need that VPS and run the installation script there. Then need to provide the Access key and the IP of the VPS to OMR and it connects automatically. Really well done Yannick! Lot of hard work has gone into this since I had a look at it as the last time a couple of months ago. Amazing!

Just some remarks on the VPS installation implications. OMR changes your ssh port from 22 to 65222. It installs shore wall firewall on the VPS, locks down unused ports and also installs needed software components such as shadow socks and various VPN software. We can see these changes here – I installed Webmin on the VPS to show them in a slightly more appealing way than just on the console. Here are the shore wall rules it added. I have added another three here for iperf3 testing and Webmin – you would probably not want to do this if the VPS was in the internet, but in the Proxmox lab it’s OK and helpful. We may also see the various zones which it added to the firewall. Here we can see the changed port for ssh. 

Internet with OPENMPTCPROUTER by ysurac

Last but not least if we look into the startup configuration, then we notice that a lot of services have been added to the machine. Shore wall, OpenVPN, Glorytun and its very own omr-service which is in fact a watchdog script that checks every 10 seconds in order to make sure that the tunnels are up and running. You might say that OMR is actually taking control over the VPS. 

So if you already have a VPS which you use for other stuff then you might want to first test this in the lab before you deploy. If – on the other hand – you are looking for a VPS just for this purpose then you might want to consider some additional factors. Like for many other solutions, the main limiting factor here is often the speed from your home to the VPS.

Not all providers actually guarantee speed figures. That means you might have a 100 Mbit connection at home but only get 10 or 20 to the VPS. If you buy from the three big ones, namely Microsoft Azure, Amazon AWS or Google Cloud then you can get these without any problems but it will have a corresponding price tag. From what I have heard, OVH cloud seems to be the preferred solution here because unlike many others they actually guarantee bandwidth and also they are not expensive. 

There are entry level offerings around 5 Euros per month but I am sure that if you look out for special offers you might even get it a bit cheaper. Actually, Yannick has a page on his Wiki where he lists the providers which have been tested. There is also a page in the Wiki that outlines the changes to the VPS which I had just spoken about. Perfect – so what’s the use case for a solution like OMR?

Obviously, increasing the bandwidth (so increase the throughput of your line) to the internet, is one use case. Another reason why you might want to use this is latency optimization – so tell the system to always use the line with the best ping time. The gamers will be happy to hear about this. A third important use case, especially if you are working remotely from home, would be to increase the availability of the line, so better uptime of your internet connection for example.

A possible application of this use case would be internet while you are traveling – you could load balance multiple 4G connections from various providers and always have a decent internet connection.

The VPS does not necessarily need to reside in a provider’s data center, but it could also be a PC or Raspberry Pi or virtual machine hosted by a friend or at your home. Amazing. That’s all I wanted to show you today. In the next episode I will explain the setup of my Proxmox test lab – actually, I have written a little Web interface to the Linux quality of service interface, that means that we can turn those three lines here into bad lines – very much like you would have on

a mobile connection. So you could use this Proxmox lab to test OMR or any other solution under real life conditions by adding latency and transmission errors or by simply reducing the upload or download speed here. Until then, many thanks for watching, 




Comments

Popular posts from this blog

The AdLib Gold Experience

Greetings folks, and today on LGR I am proud to present the fabled AdLib Gold 1000 Stereo Sound Adapter. An IBM PC-compatible sound card which, after multiple delays, launched at a suggested price of $299 in the US sometime in late 1992. More or less, its release is a bit complicated but we’ll get to that. For now lemme just go ahead and say how much I’m freak in’ out with excitement recording this footage. Cuz dude, seeing an AdLib Gold in person, still in the box, unused? Among retro PC enthusiasts, that’s like finding a golden unicorn that craps diamonds, it’s just not a thing. Yet here it is, looking’ spiffy! And it’s all thanks to Trixter, aka Jim Leonard of The Old-school PC, Check out his YouTube channel if you’re into this kind of thing too, the man’s a fountain of knowledge and some of the items in his collection are literally one of a kind. Not the least of which being this pristine AdLib Gold 1000, a card that I’ve been wondering about ever since I was eight years old lookin...

Apple Keyboard Evolution 1983-2015

I don’t have a Lisa Keyboard, and they’re quite rare and expensive. But here’s what it looked like, it was quite large and clunky. Although not really any wider than a modern Apple keyboard . So, this is the original Macintosh keyboard. It’s kind of tall, and notice that it has no arrow keys, no function keys and no number pad. Apparently, Steve Jobs believed that everybody would use the mouse for everything, except typing. It uses an RJ-11 type connector, similar to a phone cord. The mouse actually had its own separate connector, and did not connect to the keyboard at all. This is about as basic as it gets. I can plug my telephone into it, for some reason. So, one thing I noticed about this is that there are no indicators on where to put your fingers. I’ve never heard a keyboard echo before. It’s not real springy or anything. It does have… …metallic kind of noise to it. But, DAVID: This is the Apple Desktop Bus keyboard. As the name suggests, this was the first keyboard to use the new...

IBM 8516 Touchscreen CRT Monitor

Greetings and welcome to LGR Oddware where were taking a look at hardware and software that is odd, forgotten, and obsolete! And today it is the IBM 8516 CRT touchscreen from the beginning of the 1990s. And yeah you can touch and draw and do all kinds of things that you would normally do with a mouse or light pen or whatever else -- just with your fingers! And so let’s see what this thing is and what it can do. All right so this is the IBM PS/2 Model 8516 13-inch CRT touchscreen monitor first introduced in June of 1991 for a suggested retail price of $1695 US dollars, holy crap. That would be almost $3,100 at the time of this recording, not a cheap price for a 13-inch VGA monitor back then.  It was built by IBM to be compatible with PCs running DOS, Windows 3 -- and IBM OS/2 of course, because they were still pushing it rather hard when this came out. And as advanced and awesome as it was for its time it was not the first of its kind as far as touchscreen CRTs, not by a long shot....

The best gaming laptop for MS-DOS games

The other day, I used to be reading this old Computes Gazette magazine from 1983. and that I saw this card you'll send off for more information. happen if I filled it out and sent it off? Well, stick around till the top and I'll show you the result. Most of the time, stepping into Retro Gaming are often quite challenge. Even the old Atari 2600 her, for instance, it are often very challenging to seek out a contemporary TV or monitor that you simply. On the brilliant side, the games are pretty easy to affect. All you've got to try to to is locate them online, or thrift shop, or whatever and you purchase the sport, and you recognize, But, things get even harder once you start watching old computers. For instance, the Commodore 64 uses a disk format that's essentially foreign today.  It's no means to attach to the web, and albeit you've got a pile of blank disks, getting the games copied over to them from the web could be a nightmare. Now, if you fast forward just a...

Strangest Computer Designs of the '80s

OMG Mr. LGR!!! You made my day showing the Seiko computer watch series. I collect these things and Have almost  the entire lineup up including the weird UC-2200. The only one I'm missing is the "wrist mac" which was essentially a Seiko RC4400 but marketed and sold for Apple. It could be considered the first apple watch! That design for the Elwro-800 actually seems pretty good and I wish I had it for the C64 back in the day. That wire holder could have been used for holding a computer magazine with a user made program which they always had in the magazines back in the day. Even now it would be good for data input from a written copy, or even writers who like to get their pre-writing done on paper. They were the machines we were taught Turing language on -- and compiling even a tiny Turing program on them was unbelievably slow.  I really liked the GUI on them though, but we never really used the GUI much; all the programming we did was in a text file run through a compiler ...

The Advantech I.Q. Unlimited with BASIC and a Z80 CPU.

Hello, and welcome back to the 8-Bit Guy. In this episode, I want to show you this bizarre little computer known as the IQ Unlimited by Advantech. Now, you might be wondering “What is this company Advantech?” Well, if you turn the computer over you’ll see it was actually produced by Video Technology Electronics, otherwise known as V-Tech.” Yes, that’s the same V-Tech that has produced tons of cordless telephones, kids learning computers, baby monitors, and a variety of other things. They are also the ones that built the Laser 128, which was an Apple II clone, along with the matching Laser XT which was a PC clone. They also produced the laser line of portable computers, and even a series of proprietary desktop computers that carried the laser brand name. So, needless to say V-Tech is no stranger to making computers. But, I think this may be the strangest one they ever made. The front of the box claims it to be complete, powerful, simple, and affordable. They are also those that built th...

Words of Krom Ngoy

Words of Kram Ngoy This Brahma song is translated to tell Khmer men and women To be mindful should be diligent. Do not be lazy, do not be too stupid, try to learn numbers, learn the alphabet Learn all the virtues, supernatural wisdom combined with ideas. Born to see through, even from afar           Really good at thinking about everything. Fools do not wake up like blind people on both sides           There is no image of a cheap sinner born ignorant. The human race, though high and low, descended from the Pao clan.           Evil, good, black and white, cut off descendants like ancestors. Ignorant people are not venerated as a religion           The monks know the Dharma, the students study hard. The ignorant breed is not very wise, the crooked breed is not very gentle           Straight seed until the true seed does not disappear. Innoc...

Fast roaming OpenWrt Wi-Fi Access points

Before we start let me do a test. I have my  phone here which measures my Wi-Fi speed and  another phone which I use as a camera in  the other hand. I start on the 2nd floor  where I have an access point. As you can see speed  is quite OK. It won’t go much higher because I  capped it. I’ll explain in a second. Let me start  moving towards the staircase to the 1st floor.  As I do that you can see that the speed goes  down while I walk down the stairs until it starts  moving back up because I picked up the signal  from the 2nd access point here on the first floor.  Let me keep moving down to the basement. It’s  all concrete here so Wi-Fi gets weakened a lot.   But it doesn’t take long until I  get closer to the 3rd access point  here in the basement and speed picks up.  Walking back upstairs - same scenario.  How do I do that so seamlessly without  interruption of signal ? Is it a  Mes...

Will Kill Your Computer

Hey guys, this is Austin, and this is the USB Killer. Now, it might not look like much, however this will straight up kill your computer. So, this is a device that’s used to test hardware, so while it looks like an ordinary USB device, instead, there’s a series of capacitors inside. So, if you plug it into a computer, it will charge those capacitors up, and once they’re full it turns around and releases all of that power at 240 volts straight back into the computer, in theory killing it. It doesn’t take much to be able to pop this thing open. Now, before we proceed: Do not try this at home. Seriously. Not only is it very possible for this thing to kill electronics, but it’s also. And by being careful, I mean don’t try this at home. We have an Asus Chrome book.  Now, USB Killer claims that this is going to work on around 95 percent of computers, and the reason for that is that while some computers have properly capped USB ports, most have completely unprotected ports, which means th...

Ferry Bring Peoples From Side To Side On Mekong River Of Cambodia

  Ferry Bring Peoples From Side To Side On Mekong River Of Cambodia Hi Friends, Welcome to my blogger "168 168 Never Quit". This is my new video. if you like this video so please comment, share, subscribe. Thank you very much Rorn Entertainment Channel Mix Plants Along The Street