[Box Backup] Re: changing port for bbackupd
Stuart Sanders
boxbackup@fluffy.co.uk
Fri, 28 Sep 2007 17:09:00 +0800
I think there is a misunderstanding somewhere.
My understanding from your initial email is this:
Machine (A)
- bbackupd installed - backs up to machine (B)
Machine (B)
- bbackupd installed - backs up to machine (c)
- bbstored installed
Machine (C)
- bbstored installed
If this is the case why do you need to forward? Machine (B) should have a =
config file that points it to Machine (C). There is no need for forwarding=
or any conflicts...
I think we a missing something in the picture...
Stuart
> -----Original Message-----
> From: boxbackup-admin@fluffy.co.uk=20
> [mailto:boxbackup-admin@fluffy.co.uk] On Behalf Of Jon Dye
> Sent: Friday, 28 September 2007 4:59 PM
> To: boxbackup@fluffy.co.uk
> Subject: [Box Backup] Re: changing port for bbackupd
>=20
>=20
>=20
>=20
> Andrew Guenther wrote:
> > On Sep 27, 2007, at 6:25 AM, Jon Dye <jon@pecorous.co.uk> wrote:
> >=20
> >> Is it possible to change which port bbackupd connects to?
> >>
> >> My problem is as follows:
> >>
> >> I have three machines, A, B and C.
> >> A runs bbackupd to backup to the bbstored on B.
> >> B runs bbackupd to backup to the bbstored on C.
> >>
> >> I can't open port 2201 on C for access from B but I can=20
> ssh to C from B
> >> and forward a local port on B to C. So I forward port=20
> 2202 on B to port
> >> to 2201 on C. The problem is that the bbackupd client on B can't
> >> connect to 2202 only 2201 and the bbstored on B is already=20
> on this port
> >> so I can't forward that port.
> >=20
> > Keep in mind that source ports and destination ports are always
> > different. If all bbstored daemons are listening on 2201, those same
> > servers when using bbackupd should pick a random high=20
> numbered port for
> > its outbound connection.
>=20
> I realise that, the outgoing ports aren't a problem. The=20
> problem is in
> order to run a local bbstored (listening on port 2201) and to=20
> forward a
> connection to a remote bbstored (with ssh listening on port=20
> 2201) is not
> possible and changing the ports that bbackupd connects to is also not
> possible.
>=20
> > I think you are making more work for yourself then you need=20
> to. Have you
> > tried everything strait up first?
>=20
> I'm not sure what you mean by strait up? I have tried stopping the
> bbstored server on B and using ssh to forward from B to C on the usual
> port and it works. As it stands at the moment I can't run=20
> the bbstored
> daemon on B and forward to C at the same time.
>=20
> I'll probably have a play with the source to make the port=20
> configurable
> when I have some free time.
>=20
> JD
>=20
> --=20
> "If you've never seen an elephant ski then you've never been on acid!"
> =09=09- Eddie Izzard
>=20
>