BackupPC-users

Re: [BackupPC-users] BackupPC over a Firewall (IPtables)

2009-01-28 12:37:10
Subject: Re: [BackupPC-users] BackupPC over a Firewall (IPtables)
From: Rob Owens <rowens AT ptd DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 28 Jan 2009 12:32:53 -0500
You could use either a VPN or ssh port forwarding.  For ssh port forwarding, it 
would go something like this:

ssh -L 2222:remotemachine:22 username@servername

Then you can do:

ssh -p 2222 someuser@localhost

"servername" is a machine behing the firewall that can receive ssh requests 
from the internet.  "remotemachine" is a machine on the same network as 
"servername", which you want to ssh into (for the purpose of running a backup). 
 The port forwarding makes your local port 2222 pretend to be port 22 on 
"remotemachine". 

This works for one remote host.  You would need to repeat the process for each 
remote host.  You could specify a different port (2223, perhaps), or you could 
re-use port 2222 as long as you end the previous session before starting a new 
one.

This will all have to be worked into a DumpPreUserCmd.

-Rob


On Wed, Jan 28, 2009 at 06:09:13PM +0100, Sam Przyswa wrote:
> Hi,
> 
> Is it a way to backup multiples Windows and Ubuntu machines (up to 200 
> machines) over a firewall on the same port if it's possible ?
> 
> Thanks for your reply.
> 
> Sam.
> 
> 
> 
> -- 
> Ce message a été vérifié par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a été trouvé.
> For all your IT requirements visit: http://www.transtec.co.uk
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users AT lists.sourceforge DOT net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/