Blog / Tech

How to do port forwarding through SSH tunneling on Ubuntu 12.04

January 29, 2013

The place I was staying in last night requires me to register my devices’ MAC addresses with their access points to be given access. I couldn’t help but think that they could be tracking my online activities with this.

Of course, the reason they’re probably doing MAC Address Filtering is to make it harder for people not staying in the hotel to piggyback off their connection. Most places will just have a Wi-Fi password. But …

How to add self-signed certificates to the certificate store on Ubuntu Linux 12.04 to remove security warnings in Google Chrome

January 28, 2013

I use self-signed certificates for my websites and I finally found the security warnings in Google Chrome (Chromium) annoying enough that I decided to do something about it. When you’re accessing your sites many times a day, that extra step of clicking “continue” adds up. The solution is to add the certificate and make it “trusted” in the certificate store that Google Chrome uses.

On Windows, this is very easy to do. You simply export …

How to create a self-signed SSL certificate on Ubuntu 12.04 in one command line

January 21, 2013

My self-signed certificate for this blog just expired and I just created a new one. I remember having to type in multiple commands before to create one, but I found this command in one of my notes in Evernote (don’t remember where I got it from) which lets you create a self-signed certificate by just typing in one command line:

sudo openssl req -x509 -nodes -days 1825 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt

The above …

How to install a Smart Bro 3G USB modem on Ubuntu 12.04

December 23, 2012

I’m currently in the Philippines and staying at my grandpa’s place to spend Christmas and New Year. He doesn’t have internet here so the first thing I did when I arrived was to look for a 3G USB Modem.

I went to the closest shopping mall and saw a Smart store (one of the carriers here) and asked for one. It costs P995 (around $25) and comes with 5 days unlimited use.

The USB device …

How to get unlimited free trial Wi-Fi connections by spoofing your MAC address on Ubuntu 12.04

December 9, 2012

You’ve probably seen those Wi-Fi hotspots already that offer free trial connections for 20, 30, or 60 minutes before. The way they track your device is usually by its MAC address, so if you can change its MAC address you can keep getting free trial connections.

I’m at a McDonald’s in Hong Kong right now and the only Wi-Fi connection that works for me only offers 20 minutes free trial. Back when I was using …