LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-01-2012, 03:18 PM   #1
farnsy
LQ Newbie
 
Registered: Nov 2008
Location: Pennsylvania
Distribution: Fedora 19
Posts: 24

Rep: Reputation: 2
Easiest way to transfer files through an intermediate computer


I know the title isn't very descriptive. Here's my problem: I work at three sites at three organizations. Let's call them "A", "B", and "Home". I can only connect to sites A and B using cisco vpn connections (vpnc). Home I can connect to from anywhere.

Unfortunately, when I am physically at site B, the firewall (apparnetly) will not allow me to create a vpnc connection to site A. However, I can ssh to Home, create a VPN connection to A from there, and then ssh to site A. Great.

The problem is that I also frequently need to transfer files from site B to site A. I can sftp them to Home, then ssh to Home and sftp them to A, but this is getting very tedious. I'd like a more convenient way. I have no control over the firewalls or networking at sites A or B but I have root access to my machine at all three locations. I can also configure the network and router at Home.

What is the simplest way to transfer files from site B to site A going through my computer at Home?

I've been googling ssh tunnelling, but it's not something I'm familiar with at the moment, and I'm not sure it's the right tool for the job.

Last edited by farnsy; 08-01-2012 at 03:21 PM.
 
Old 08-01-2012, 03:21 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Why can't you find out the network topology of this odd site? Knowing the controls would help you decide better than guessing.

A ssh tunnel may be termed stunnel. There are some web pages on how to do that.
 
Old 08-01-2012, 03:25 PM   #3
farnsy
LQ Newbie
 
Registered: Nov 2008
Location: Pennsylvania
Distribution: Fedora 19
Posts: 24

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by jefro View Post
Why can't you find out the network topology of this odd site? Knowing the controls would help you decide better than guessing.
Just to clarify, do you mean that I should find out why site B won't let me vpn to site A? To give you an idea of what's going on, B is a university, A is a firm I consult for, and Home is, of course, my home network. The sysadmins at the university are not real accessible (a little hostile, actually), but it sounds like you think I might be able to find out a direct way from them to get to A without going through my home network. Is that right?

Last edited by farnsy; 08-01-2012 at 03:31 PM.
 
Old 08-01-2012, 05:08 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
I would suggest caution. Bear in mind that the network admins at the university are there to keep THEIR network secure...circumventing network access restrictions (however lame they may be), would be a really good way to get in trouble/fired/prosecuted.
 
Old 08-01-2012, 05:15 PM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
sshfs ?
 
  


Reply



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
Copying a file as root through an intermediate computer. quyzbuk Linux - Newbie 6 07-28-2010 09:42 PM
Easiest way to share files between two linux installations on same computer? KindOfNeutral Linux - Newbie 15 05-24-2009 08:20 AM
Olympus VN-3100PC Voice Recorder wont transfer WAV files to computer. Markness Linux - Software 1 07-30-2007 06:57 AM

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

All times are GMT -5. The time now is 07:04 PM.

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
Open Source Consulting | Domain Registration