Archive for April, 2011

ssh port forward

Posted April 28, 2011 By Moishe Beshkin

Working from firewalled network is usual headache for a real hacker ;)
I am not hacker, but I need sometimes to reach some specific port out of my working network.
I found the following solution of my problem.
To make this dish, you need the following ingredients:
- out-of-your-network computer
- static IP on it. Or if firewall allows to reach Dynamic DNS, then DHPC address with Dynamic DNS setup is pretty enough.
- Linux on board and SSH installed.

Cooking process looks as following:

sudo ssh -L 80.80.80.80:23:70.70.70.70:9540 user@localhost

in this example:
80.80.80.80 – IP address, you want to bind to. If you don’t want binding to any specific local addresses, just remove this IP and following semicolon. And the string will look as 23:70.70.70.70:9540
23 – port, where you are going to receive requests. This port should be allowed by your firewall.
70.70.70.70 – remote host, where you want to reach to
9540 – remote host port, which is forbidden by your firewall rules.
user@localhost – local user, which will log-in to ssh session locally.

After connection, you will get a possibility to connect to your host port 23, as if it was remote host with port 9540
Note: root is needed if you map ports lower than 1024.

2 Comments so far. Join the Conversation

Menninkainen.eu is released

Posted April 24, 2011 By Moishe Beshkin

Menninkainen.eu is a small site for a Finnish company, working with furniture production.
task was to integrate my CMS into ready made template.

Be the first to comment

Laboratorija.lv is released

Posted April 14, 2011 By Moishe Beshkin

I am proud to announce that site Laboratorija.lv is finally released. This is only start of succesful cooperation between our team and Centrālā Laboratorija (Central Laboratory) company. This stage was full of interesting challenges and solutions.

Special plugin for the site is map, which locates branches in Latvia by location and by service http://laboratorija.lv/lv/menu/2-adreses_un_pakalpojumi.html

Be the first to comment

Banklink (Pangalink) php usage

Posted April 12, 2011 By Moishe Beshkin

This article was published in Russian on my blog midbar.livejournal.com. Now, I decided to translate it to English and publish here.
This tutorial was written, due to the reason that there was no much information about Banklink (Pangalink) in Russian and English. So, here the document, how to set up BankLink connection, what it is in general and what are the specifics.
Read the remainder of this entry »

3 Comments so far. Join the Conversation

How to add Like box to your app on Facebook

Posted April 11, 2011 By Moishe Beshkin

For some reasons, Facebook doesn’t want to fix “Like it” box so that it will be easily integrated into your Facebook application page. So, there is a workaround, which allows you to place Like box for your application into your app page.


In this case I got a part of the iframed page http://www.facebook.com/connect/connect.php?id=127104720672096, there id – is your application’s id.

See, how it looks in my app https://apps.facebook.com/jbirthday

Be the first to comment