Bacula-users

Re: [Bacula-users] How to deal with NAT

2009-05-06 23:39:45
Subject: Re: [Bacula-users] How to deal with NAT
From: Kevin Keane <subscription AT kkeane DOT com>
Date: Wed, 6 May 2009 20:33:01 -0700
Patrick Ben Koetter wrote:
> * Kevin Keane <subscription AT kkeane DOT com>:
>   
>> I solved exactly this issue with SSH tunnels. The description on how I 
>> did it is in the Bacula Wiki in the howto section.
>>     
>
> Thanks for the reference. I had had a look at it earlier and had kept it on my
> mind. After your posting I tried and failed. I believe I am close, but I just
> can't get a hand on it:
>
> I installed and verified SSH for bacula user.
>
> If I su to bacula, I can establish the tunnels:
>
>     /usr/bin/ssh -fC2 -R 9101:backup.office.state-of-mind.de:9101 -R 
> 9103:backup.office.state-of-mind.de:9103 -L 9112:localhost:9102 
> mail.state-of-mind.de
>
> If I try to connect to fd on mail.state-of-mind.de I get a connection refused
> though:
>
>     06-May 21:39 backup-dir JobId 0: Fatal error: bsock.c:129 Unable to 
> connect to Client: mail-fd on localhost:9112. ERR=Connection refused
>   
This is a very low-level error; the TCP connection couldn't even be 
established.

- Use netstat to check if SSH really is listening on port 9112.
- Use netstat on the mail.state-of-mind.de server to confirm that fd is 
listening on port 9101.
- Check your iptables to make sure that it isn't blocking port 9112 on 
interface lo, or anything else on the way.

HTH!

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>