Blocked ports


 
Thread Tools Search this Thread
Special Forums IP Networking Blocked ports
# 1  
Old 02-11-2009
Blocked ports

I have installed a network camera in my home which i would like to watch when i am in my office.The problem is that the specific port that is used from my camera to pass video is blocked by my isp(as most ports for incoming connections). It is not possible to change that port from my camera software so i can then do the port forward for my router.I am searching a way to bypass that blocked ports through an ssh tunnel (as it seems that this is probably the only way), either creating an ssh server in my home or through a third ssh server in the web.I am not really familiar with ssh , so any help would be appreciated.
Thank you
# 2  
Old 02-11-2009
As far as I can recall, here is a quick illustration.

Code:
ssh -l user my.host -L local_port:localhost:blocked_port

Once logged in, the port "local_port" will be listening on your local host. You must leave this SSH session open throughout. By now, traffic to "local_port" at localhost will be routed to the "blocked_port" at "my.host" instead (until the SSH session is torn down).

This is good for exposing a few blocked ports without all the hassle of setting up VPN. And apart from exposing blocked ports on the SSH'ed host itself you can even bridge to a port at an internal host behind NAT.
# 3  
Old 02-11-2009
What are you using for a firewall/router? They both should be able to redirect the port once it reaches your network. Just use a high numbered port. and setup your device to forward that port onto your camera.
# 4  
Old 02-11-2009
Thank you for your answer cbkihong.I have never used ssh for something like that so i need some more help.So , the camera is in my home pc where the incoming connections are closed from my isp(the video streaming is on port 5003-in normal conditions i would port forward that port to my lan camera) .From my office pc i can have all incoming connections open and so i can port forward any port from my office router.So where do i have to install the ssh server and where the client. I guess the only option is to install the ssh server in my office pc (port forward ssh port (22) to my pc in my office router) and connect from my home pc through ssh client.So what arguments to use in the ssh client.
Thank you.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Registering from blocked country

Hi, I'm come from Vietnam and want to join to Unix forum just because I like Unix programming and want to learning more. My IP is allocate by DHCP server so it is dynamic. Here is my desired username and my email: Username: lucasdo Email: rennersstar@gmail.com Thank you very much for... (0 Replies)
Discussion started by: lucasdo
0 Replies

2. Shell Programming and Scripting

Parsing blocked text

I do have a flat text file that are divided into blocks. Each block is demimited by '='. I would like to parse certain numbers and letters. This is the format of the file I have. It has thousands of such blocks >A B 1, 100 TTTT 100 95 >C D 1, 95 GHJKL = >A B 1, 72 GHUJKLO 72 84 >C D... (3 Replies)
Discussion started by: Kanja
3 Replies

3. UNIX for Advanced & Expert Users

Blocked process and preempt

Hello Everyone, There is a column kthr:b in vmstat. How a process become blocked? If the process calls system call pread and sleeps inside it, is the process blocked in that moment? How a process sleeping because it has no work at all (as Notepad when we are not using it) differs from a... (3 Replies)
Discussion started by: sant
3 Replies

4. UNIX for Advanced & Expert Users

Date on which a user is blocked

I work on AIX 5.3 and need to know if is possible to know the date on which a user is blocked. Thank you. (1 Reply)
Discussion started by: cmr88
1 Replies

5. Post Here to Contact Site Administrators and Moderators

IP Blocked

When I try to view these forums from work, I get a message that my IP has been blocked. Please advise as to how to fix this situation. My IP at work comes from the following class B network: 128.226.X.X (Binghamton University) Thanks. (1 Reply)
Discussion started by: debcav
1 Replies

6. IP Networking

BitTorrent port 6969 blocked... how to get around the blocked port

Due to the massive Upload speeds killing .... or overstressing our schools network...... my school has blocked port 6969 (the most common BitTorrent port). So I cant connect to the tracker anymore, in other words no more downloading from school :( Does anyone know how I can get around the ports... (1 Reply)
Discussion started by: PenguinDevil
1 Replies

7. Programming

Function in a blocked state.

Hi, How do you write a function which has to stay blocked in a wait state till an event occurs? The event could be the arrival of a message/updation of a database etc .. Regards, VJ (2 Replies)
Discussion started by: vjsony
2 Replies
Login or Register to Ask a Question