blusb.eu

blusb.eu header image 1

Accesing NAT Sever with Linksys WRT54g and SSH Reverse Tunnels

June 21st, 2009 · No Comments

The web server we are using at work is NATed it is not very convenient when working from home. Thankfully SSH tunnelling comes to the rescue. I will explain a little about my setup.

ssh-revese-tunnel-setup

The work computer is NATed behind a Firewall that I do not have controll over and it runs a Web and SSH servers which I would like them to be accessible from home. The home computer also runs SSH and Web servers which I want them to be accessible from the Internet. My Linksys WRT54g router has the following configuration:

Firmware OpenWrt White Russian - With X-Wrt Extensions 0.9
Kernel Linux 2.4.30 #1 Sat Feb 3 13:16:08 CET 2007
MAC 00:00:00:00:00:00
Device Linksys WRT54G/GS/GL
Board Broadcom BCM947XX
Username root
Web mgt. console Webif²
Version r4580

I will show following steps in my configuration:

  • How to make SSH and Web home servers Internet accessible.
  • How to make the SSH server on the Linksys router Internet Accessible.
  • How to setup on Linksys SSH key-based authentication.
  • How to setup remote tunnels.

[Read more →]

→ No CommentsTags: opensource · SSH · Linksys

Mercurial SCM in shared hosts (bluehost.com)

September 17th, 2007 · 10 Comments

Mercurial-bluehost logoBill de hÓra has a great post for setting up Mercurial (Hg) in a shared host environment and specifically TextDrive. The method described by Bill requires an ssh enabled account and unfortunately I don’t. If you do I would recommend using his instructions because they are easier to follow. If you are developing solo then you can use ssh to push changes while anonymous users can pull without any security concerns over http. If you want to do the latter Patrick Mueller explains how.

I will explain how to setup Mercurial in bluehost WITHOUT ssh access and how to use https to avoid sending your password unencrypted over the network.

[Read more →]

→ 10 CommentsTags: opensource · SCM · mercurial · bluehost

pflickr v1.1

November 22nd, 2006 · 29 Comments

pflickr logo v1.1After using the pflickr widget v1.0 for a while, I notice that my blog does not load fast enough and I decided to implement some caching.

While I am at it, I should add some more flexibility, allowing the user to specify the update interval of the “widget photo”. Now you can have photo of the hour, photo of the day, photo of the week,…
These two changes bring us to pflickr widget v1.1.

[Read more →]

→ 29 CommentsTags: photosharing · flickr

pflickr - a random photo everyday from Flickr in your Wordpress blog (Photo of the Day)

November 16th, 2006 · 15 Comments

pflickr v1.0 Usually you do not go through your flickr photostream every day, but once in while you like to see some of the photos you uploaded ages ago. There are a lot of plugins for Wordpress to display recently uploaded photos of your photostream in your sidebar. However I could not find any widgets which will pick a random photo across my whole photostream and display it. So I decided to create one for you and for myself. You can download version 1.0 of the pflickr widget here. For instruction on how to install the widget in your blog and how to use it continue reading.

UPDATE: New release pflcikr v1.1

[Read more →]

→ 15 CommentsTags: photosharing · flickr