LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-02-2004, 11:37 PM   #1
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
how to circumvent port blocking?


ok, so this isn't directly Linux-related, but i think that people on this forum have the technical aptitude to answer this question.

i have a (windows...bleh) system at work which has an ssh client (WRQ Reflection...don't feel like sharing my thoughts on this crap). a company that i work with has a software repository (Linux server) at a location external to my work (in fact, it's in another state) which accepts incoming ssh connections on port 22 (with valid usr and pass of course). incoming and outgoing connections on port 22 are blocked on all systems where i work (at a very high-level...a major effort would be necessary to globally open this port and they don't make exceptions for single users...Robert X. Cringely addressed this beaurocratic IT nightmare specifically in a recent article). oh, and i can't add/remove any software on *my* work system because it isn't _my_ system and if i could do that then the network would be so insecure...even though we're forced to use pure ms windows, ie, and ms office with their inherent super-security...ok, enough rambling.

my goal is to ssh into the server using the WRQ client (i can configure which port it sends the outgoing ssh connection request on in this software). there are completely open ports on my work network, so i could use one of those if i choose to do so...but of course the server does not respond to incoming ssh requests on those ports. the WRQ program has some settings for port forwarding, but i'm not sure that i could coerce any local settings that would get me around the port 22 embargo.

so, what are my options? route my connection through an intermediate proxy somewhere on the internet? i would prefer not to do that because i would be passing proprietary information through an unknown party (i know it would be encrypted...but i want to be safe).

the best solution that i can think of is to get the repository server admin to forward a port of my choosing (one that is open on my work network) to port 22 on their server. so what does my admin friend need to do to set up this forwarding system on his Linux server?

i know this was kind of long-winded, but i thank you for your thoughts in advance. this is a big problem for me and the people that i work with. hopefully you smart Linux gurus will have an answer that only requires a simple config file edit.

peace.

Last edited by zero79; 07-03-2004 at 01:01 AM.
 
Old 07-03-2004, 07:37 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Re: how to circumvent port blocking?

Quote:
Originally posted by zero79
the best solution that i can think of is to get the repository server admin to forward a port of my choosing (one that is open on my work network) to port 22 on their server. so what does my admin friend need to do to set up this forwarding system on his Linux server?
I would agree that this is the bes way to do it. Whether you need to forward it or not depends on the server/firewall setup at that end. If the server has it's own IP then you would probably be best just to run sshd on more than one port.
Code:
man sshd_config

     Port    Specifies the port number that sshd listens on.  The default is
             22.  Multiple options of this type are permitted.  See also
             ListenAddress.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SQUID - Blocking port 80 tekquest Linux - Software 2 08-27-2005 06:05 AM
Port Blocking adtomar Linux - Networking 6 12-14-2004 03:35 AM
ISP Blocking port 25, how can I get around? kofrad Linux - Networking 1 09-10-2004 02:26 PM
port blocking BwiNfon Linux - Security 4 09-25-2003 10:51 AM
port blocking EyaL Linux - Security 3 10-19-2002 08:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration