PeerVPN

What is a VPN?
VPNs means Virtual Private Network. It is way to connect multiple machines located in different regions together as if they were in a LAN. For example, in Mauritius, if your have Orange’s MyT at home, your router’s internal IP would most likely to be `192.168.100.1`.

Your laptop, mobile phone or Smart Home Appliances will have an IP in the range `192.268.100.2` to `192.168.100.254`. You cannot access these devices outside of your home without doing some tricks on your router configurations. This is where VPNs come in. If you are at work or on the move, you can still access your devices as if you were connected actually at home.

This would make more sense for businesses who have multiple region of operations but would still like all there IT devices to freely share information among themselves as if they in the same building. Examples would be a Manager printing a document in the office’s printer while he’s travelling in bus.

The problem with popular VPNs
Popular VPN solutions are centralised – meaning they depend on a single point such as a known server. Problem is when the server happens to be off-service, the whole VPN goes down. Furthermore, all the traffic is routed to the single server before being dispatched to their respective recipients.

PeerVPN comes in
PeerVPN is a very lightweight peer-2-peer VPN. You can initialise it with 2 nodes. When more nodes join in, it doesn’t matter if the first 2 are still in.

PeerVPN is so small that it took less that 1 minute to compile on my Raspberry Pi 3. You can find the codes here: https://github.com/Nayar/peervpn

Performance
I noticed an increased of like 4-5ms when pinging between my VPSs’ servers on the cloud. However I noticed the ping to be 25ms faster when pinging my VPSs’ from my Raspberry Pi at home.

The HAProxy 75th percentile backend response time increased by 10ms. I think it’s not bad compared to the benefits of the encryption and ease which it provides.

Drawbacks
– The author hasn’t updated the code since 2 years now.
– Security might not be as updated.

I hope this project revives. I gotta test Meshbird to see how it compares to PeerVPN. Have you ever used any of these types of VPNs?

Hands on LoRa IoT Network

IoT (Internet of Things) is a has become a reality. Its adoption is increasing at exponential rates in almost all areas. I’m lucky that a friend of mine lent me his “Dragino Lora IoT Kit” to develop a prototype for his startup. The kit comes in this beautiful box.

Getting the Arduino Uno board to work on my Macbook was quite a hassle. I had to download a firmware from a website which I don’t remember for it to work. Yep, I was so desperate that I ignored the security concerns. But finally, my Arduino IDE finally recognized the board. I connected an RFID reader to it but unfortunately it couldn’t read any of my tags or cards. I’m guessing it’s simply a faulty reader. I will get a new one soon.

LoRa is a long distance, low power IoT network. It is similar to SigFox IoT network which has already been deployed in Mauritius. The difference between these 2 is that SigFox sells its network and LoRa sells its chips. Meaning anyone can have his own private LoRa network but has to buy the hardware for SemTech. On the other hand, anyone can manufacture SigFox equipments but they have to connect to SigFox’s official network only.

The Dragino Kit offers a LoRa gateway along with 2 Arduino Uno’s coupled with LoRa Shields. The results:

It’s just a simple hello world app but now is when the fun is going to start. Next I plan to make the LoRa server pair with my custom MQTT server and send logs to my ElasticSearch cluster so I can start analyzing data.

If you have more ideas on how we could use this technology, feel free to have a little chat ūüėČ

Chilli’s Pack Zenes is awesome (MTML)

For Rs 75, you get 750mb of data for 1 month. Isn’t that great?

The signal quality is awesome. Last week I went to Belle Mare beach. A friend called me on WhatsApp and the sound was crystal clear. Browsing the internet is super fast for a mobile phone.

I’ve been using the service since 2 weeks now. I’m really satisfied. I’d strongly recommend the Pack Zenes — unless if you live in a really remote location, you might wanna ask for someone else for feedback.

Great service MTML ūüôā

Why I read magazines backwards

I ain’t no bookworm. I got very short attention span like most facebookers and tweeps.

Magazines usually start with editorials and their front¬†featured articles.¬†That’s too much to digest at once.

One paragraph articles or short comics at the end are very easy fast and easy to read. As I move towards the front page, the articles get a little bit longer and deeper. My mind is in a more curious and grasping mode for that effect.

And some people thought I’m a fanatic! xP

Goodbye AirAsia

Mauritian social medias are full of disapointment by the fact the AirAsia¬†will stop it’s service in Mauritius soon.

“The suspension of the Mauritius route is a part of the company‚Äôs big plan in network restructuring aimed at improving operational efficiencies in term of aircraft utilizations”

There are rumours that this is due to pressure by some Mauritians groups

“the sudden decision could be due to peer pressure by local ethnic groups, lobbying to the authorities in Mauritius to stop the highly successful flights.” –theindependent.sg

As I am a common people, I don’t have the ability to know the real reason behind.

It’s a really sad thing that Middle class Mauritians won’t be able to afford holidays abroad as AirAsia was allowing.¬†Is there anyone to standup for “ti-dimounes”?