The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
IP Blocked debcav Post Here to Contact Site Administrators and Moderators 1 08-21-2005 05:33 PM
BitTorrent port 6969 blocked... how to get around the blocked port PenguinDevil IP Networking 1 05-05-2004 11:03 PM
Telnet Blocked - PGP Encryption? jgordon UNIX for Advanced & Expert Users 7 10-17-2003 08:32 AM
Function in a blocked state. vjsony High Level Programming 2 08-08-2002 01:15 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-11-2009
link7722 link7722 is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 2
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 (permalink)  
Old 02-11-2009
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
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 (permalink)  
Old 02-11-2009
Lazydog's Avatar
Lazydog Lazydog is offline
Registered User
  
 

Join Date: Oct 2008
Location: Chester Co., PA
Posts: 73
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 (permalink)  
Old 02-11-2009
link7722 link7722 is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 2
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0