SSH port forwarding
In one of my previous post I made a tutorial how to bypass corporate firewalls and gain access into your office computer. It work well if you are at your home and you need ssh access (or any other service) to your office computer. However if the situation is reversed, and you need to access some outside service which your firewall is blocking then you would use this little tutorial with explanations. Although all this is covered in the ssh man pages, one always learn best by real life examples, so here I’ll try to cover few of them. So to better explain our first problem look at the picture below:
The first problem
We are located at office computer which is behind the very restrictive firewall and we want to get to the non-standard service running on the remote server.
So normally if I use for example Mysql Administrator to connect on my MySql database on a remote server, that communication would happen on port 3306, and for this to work Mysql Administrator must have appropriate rules set in our firewall to allow that traffic. But what if traffic on that port is blocked?
Read more


So recently I went nuts having to login onto each server to look at its munin graphs. While you have few servers it’s doable, but managing large farms and checking up on them while having to login into each is just pain in the ass.