public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] {OT} Incorporating openvpn in backup scheme
@ 2013-06-25  7:02 Grant
  2013-06-25  7:06 ` J. Roeleveld
  0 siblings, 1 reply; 9+ messages in thread
From: Grant @ 2013-06-25  7:02 UTC (permalink / raw
  To: Gentoo mailing list

I have several remote systems all pushing backups to my local laptop
via rdiff-backup.  Sometimes when on the road I find myself behind a
router and the remote systems are unable to push.  Is openvpn the
right solution here?  Should I run a separate openvpn server on each
system to be backed up with my laptop as the client?

- Grant


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] {OT} Incorporating openvpn in backup scheme
  2013-06-25  7:02 [gentoo-user] {OT} Incorporating openvpn in backup scheme Grant
@ 2013-06-25  7:06 ` J. Roeleveld
  2013-06-26  5:52   ` Michael Orlitzky
  2013-06-26  7:54   ` Grant
  0 siblings, 2 replies; 9+ messages in thread
From: J. Roeleveld @ 2013-06-25  7:06 UTC (permalink / raw
  To: gentoo-user

On Tue, June 25, 2013 09:02, Grant wrote:
> I have several remote systems all pushing backups to my local laptop
> via rdiff-backup.  Sometimes when on the road I find myself behind a
> router and the remote systems are unable to push.  Is openvpn the
> right solution here?  Should I run a separate openvpn server on each
> system to be backed up with my laptop as the client?

If you can configure the router to forward the port used by the OpenVPN
server to your laptop, you can run the server on your laptop.

But, as is more likely, when you can not configure the router, running an
OpenVPN server on (at least one) remote system and having your laptop
connect to that, you can have the other systems push to your laptop over
the VPN-link.
Either directly (by establishing multiple VPN-links from your laptop (one
to each server) or via one of the remote systems.

--
Joost



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] {OT} Incorporating openvpn in backup scheme
  2013-06-25  7:06 ` J. Roeleveld
@ 2013-06-26  5:52   ` Michael Orlitzky
  2013-06-26  7:54   ` Grant
  1 sibling, 0 replies; 9+ messages in thread
From: Michael Orlitzky @ 2013-06-26  5:52 UTC (permalink / raw
  To: gentoo-user

On 06/25/13 03:06, J. Roeleveld wrote:
> On Tue, June 25, 2013 09:02, Grant wrote:
>> I have several remote systems all pushing backups to my local laptop
>> via rdiff-backup.  Sometimes when on the road I find myself behind a
>> router and the remote systems are unable to push.  Is openvpn the
>> right solution here?  Should I run a separate openvpn server on each
>> system to be backed up with my laptop as the client?
> 
> If you can configure the router to forward the port used by the OpenVPN
> server to your laptop, you can run the server on your laptop.
> 
> But, as is more likely, when you can not configure the router, running an
> OpenVPN server on (at least one) remote system and having your laptop
> connect to that, you can have the other systems push to your laptop over
> the VPN-link.
> Either directly (by establishing multiple VPN-links from your laptop (one
> to each server) or via one of the remote systems.
> 

Many hotels, airports, universities, etc. will also block everything
except TCP port 80/443 outgoing. I suggest running OpenVPN on tcp/443.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] {OT} Incorporating openvpn in backup scheme
  2013-06-25  7:06 ` J. Roeleveld
  2013-06-26  5:52   ` Michael Orlitzky
@ 2013-06-26  7:54   ` Grant
  2013-06-26  7:56     ` J. Roeleveld
  1 sibling, 1 reply; 9+ messages in thread
From: Grant @ 2013-06-26  7:54 UTC (permalink / raw
  To: gentoo-user

>> I have several remote systems all pushing backups to my local laptop
>> via rdiff-backup.  Sometimes when on the road I find myself behind a
>> router and the remote systems are unable to push.  Is openvpn the
>> right solution here?  Should I run a separate openvpn server on each
>> system to be backed up with my laptop as the client?
>
> If you can configure the router to forward the port used by the OpenVPN
> server to your laptop, you can run the server on your laptop.

I can't rely on being able to configure the router unfortunately, but
I have to admit admin/admin does work a lot of the time.

> But, as is more likely, when you can not configure the router, running an
> OpenVPN server on (at least one) remote system and having your laptop
> connect to that, you can have the other systems push to your laptop over
> the VPN-link.
> Either directly (by establishing multiple VPN-links from your laptop (one
> to each server) or via one of the remote systems.

So I'm sure I understand, I should run the openvpn server on one of my
remote systems and connect to that with each of the other remote
systems and the laptop.  Then I can back up from any of the remote
systems to the laptop and all the laptop needs to be able to do is
make an outbound connection to the openvpn server?

- Grant


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] {OT} Incorporating openvpn in backup scheme
  2013-06-26  7:54   ` Grant
@ 2013-06-26  7:56     ` J. Roeleveld
  2013-06-26  8:02       ` Grant
  0 siblings, 1 reply; 9+ messages in thread
From: J. Roeleveld @ 2013-06-26  7:56 UTC (permalink / raw
  To: gentoo-user

On Wed, June 26, 2013 09:54, Grant wrote:
>>> I have several remote systems all pushing backups to my local laptop
>>> via rdiff-backup.  Sometimes when on the road I find myself behind a
>>> router and the remote systems are unable to push.  Is openvpn the
>>> right solution here?  Should I run a separate openvpn server on each
>>> system to be backed up with my laptop as the client?
>>
>> If you can configure the router to forward the port used by the OpenVPN
>> server to your laptop, you can run the server on your laptop.
>
> I can't rely on being able to configure the router unfortunately, but
> I have to admit admin/admin does work a lot of the time.
>
>> But, as is more likely, when you can not configure the router, running
>> an
>> OpenVPN server on (at least one) remote system and having your laptop
>> connect to that, you can have the other systems push to your laptop over
>> the VPN-link.
>> Either directly (by establishing multiple VPN-links from your laptop
>> (one
>> to each server) or via one of the remote systems.
>
> So I'm sure I understand, I should run the openvpn server on one of my
> remote systems and connect to that with each of the other remote
> systems and the laptop.  Then I can back up from any of the remote
> systems to the laptop and all the laptop needs to be able to do is
> make an outbound connection to the openvpn server?

2 options:
1) OpenVPN on every remote system and have laptop connect to all remote
systems for the backup

2) OpenVPN on 1 remote system (configured as router for the VPN-links)
 - laptop and other remote systems connect to this remote system
 - backup are sent to laptop via this one remote system




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] {OT} Incorporating openvpn in backup scheme
  2013-06-26  7:56     ` J. Roeleveld
@ 2013-06-26  8:02       ` Grant
  2013-06-26  8:06         ` joost
  0 siblings, 1 reply; 9+ messages in thread
From: Grant @ 2013-06-26  8:02 UTC (permalink / raw
  To: gentoo-user

>>>> I have several remote systems all pushing backups to my local laptop
>>>> via rdiff-backup.  Sometimes when on the road I find myself behind a
>>>> router and the remote systems are unable to push.  Is openvpn the
>>>> right solution here?  Should I run a separate openvpn server on each
>>>> system to be backed up with my laptop as the client?
>>>
>>> If you can configure the router to forward the port used by the OpenVPN
>>> server to your laptop, you can run the server on your laptop.
>>
>> I can't rely on being able to configure the router unfortunately, but
>> I have to admit admin/admin does work a lot of the time.
>>
>>> But, as is more likely, when you can not configure the router, running
>>> an
>>> OpenVPN server on (at least one) remote system and having your laptop
>>> connect to that, you can have the other systems push to your laptop over
>>> the VPN-link.
>>> Either directly (by establishing multiple VPN-links from your laptop
>>> (one
>>> to each server) or via one of the remote systems.
>>
>> So I'm sure I understand, I should run the openvpn server on one of my
>> remote systems and connect to that with each of the other remote
>> systems and the laptop.  Then I can back up from any of the remote
>> systems to the laptop and all the laptop needs to be able to do is
>> make an outbound connection to the openvpn server?
>
> 2 options:
> 1) OpenVPN on every remote system and have laptop connect to all remote
> systems for the backup
>
> 2) OpenVPN on 1 remote system (configured as router for the VPN-links)
>  - laptop and other remote systems connect to this remote system
>  - backup are sent to laptop via this one remote system

#2 sounds cooler.  Is that what you'd do?

- Grant


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] {OT} Incorporating openvpn in backup scheme
  2013-06-26  8:02       ` Grant
@ 2013-06-26  8:06         ` joost
  2013-06-26  8:12           ` J. Roeleveld
  0 siblings, 1 reply; 9+ messages in thread
From: joost @ 2013-06-26  8:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1994 bytes --]

Grant <emailgrant@gmail.com> wrote:

>>>>> I have several remote systems all pushing backups to my local
>laptop
>>>>> via rdiff-backup.  Sometimes when on the road I find myself behind
>a
>>>>> router and the remote systems are unable to push.  Is openvpn the
>>>>> right solution here?  Should I run a separate openvpn server on
>each
>>>>> system to be backed up with my laptop as the client?
>>>>
>>>> If you can configure the router to forward the port used by the
>OpenVPN
>>>> server to your laptop, you can run the server on your laptop.
>>>
>>> I can't rely on being able to configure the router unfortunately,
>but
>>> I have to admit admin/admin does work a lot of the time.
>>>
>>>> But, as is more likely, when you can not configure the router,
>running
>>>> an
>>>> OpenVPN server on (at least one) remote system and having your
>laptop
>>>> connect to that, you can have the other systems push to your laptop
>over
>>>> the VPN-link.
>>>> Either directly (by establishing multiple VPN-links from your
>laptop
>>>> (one
>>>> to each server) or via one of the remote systems.
>>>
>>> So I'm sure I understand, I should run the openvpn server on one of
>my
>>> remote systems and connect to that with each of the other remote
>>> systems and the laptop.  Then I can back up from any of the remote
>>> systems to the laptop and all the laptop needs to be able to do is
>>> make an outbound connection to the openvpn server?
>>
>> 2 options:
>> 1) OpenVPN on every remote system and have laptop connect to all
>remote
>> systems for the backup
>>
>> 2) OpenVPN on 1 remote system (configured as router for the
>VPN-links)
>>  - laptop and other remote systems connect to this remote system
>>  - backup are sent to laptop via this one remote system
>
>#2 sounds cooler.  Is that what you'd do?
>
>- Grant

Yes.
With the VPN server being at my home network.
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

[-- Attachment #2: Type: text/html, Size: 3009 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] {OT} Incorporating openvpn in backup scheme
  2013-06-26  8:06         ` joost
@ 2013-06-26  8:12           ` J. Roeleveld
  2013-06-27  6:43             ` Grant
  0 siblings, 1 reply; 9+ messages in thread
From: J. Roeleveld @ 2013-06-26  8:12 UTC (permalink / raw
  To: gentoo-user

On Wed, June 26, 2013 10:06, joost@antarean.org wrote:
> Grant <emailgrant@gmail.com> wrote:
>
>>>>>> I have several remote systems all pushing backups to my local
>>laptop
>>>>>> via rdiff-backup.  Sometimes when on the road I find myself behind
>>a
>>>>>> router and the remote systems are unable to push.  Is openvpn the
>>>>>> right solution here?  Should I run a separate openvpn server on
>>each
>>>>>> system to be backed up with my laptop as the client?
>>>>>
>>>>> If you can configure the router to forward the port used by the
>>OpenVPN
>>>>> server to your laptop, you can run the server on your laptop.
>>>>
>>>> I can't rely on being able to configure the router unfortunately,
>>but
>>>> I have to admit admin/admin does work a lot of the time.
>>>>
>>>>> But, as is more likely, when you can not configure the router,
>>running
>>>>> an
>>>>> OpenVPN server on (at least one) remote system and having your
>>laptop
>>>>> connect to that, you can have the other systems push to your laptop
>>over
>>>>> the VPN-link.
>>>>> Either directly (by establishing multiple VPN-links from your
>>laptop
>>>>> (one
>>>>> to each server) or via one of the remote systems.
>>>>
>>>> So I'm sure I understand, I should run the openvpn server on one of
>>my
>>>> remote systems and connect to that with each of the other remote
>>>> systems and the laptop.  Then I can back up from any of the remote
>>>> systems to the laptop and all the laptop needs to be able to do is
>>>> make an outbound connection to the openvpn server?
>>>
>>> 2 options:
>>> 1) OpenVPN on every remote system and have laptop connect to all
>>remote
>>> systems for the backup
>>>
>>> 2) OpenVPN on 1 remote system (configured as router for the
>>VPN-links)
>>>  - laptop and other remote systems connect to this remote system
>>>  - backup are sent to laptop via this one remote system
>>
>>#2 sounds cooler.  Is that what you'd do?
>>
>>- Grant
>
> Yes.
> With the VPN server being at my home network.

Need to add to this:
Option #2 has a few downsides:
1) The system running the VPN-server will have a lot more bandwidth
utilisation. (Backups for other systems will go through the link this one
has)
2) If that system is down, none of the other systems can be accessed via VPN.

For me the downsides don't count as the server can be accessed really
easily and I pay the same for my home internet connection when I use it or
don't use it.

--
Joost



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] {OT} Incorporating openvpn in backup scheme
  2013-06-26  8:12           ` J. Roeleveld
@ 2013-06-27  6:43             ` Grant
  0 siblings, 0 replies; 9+ messages in thread
From: Grant @ 2013-06-27  6:43 UTC (permalink / raw
  To: gentoo-user

>>>>>>> I have several remote systems all pushing backups to my local
>>>laptop
>>>>>>> via rdiff-backup.  Sometimes when on the road I find myself behind
>>>a
>>>>>>> router and the remote systems are unable to push.  Is openvpn the
>>>>>>> right solution here?  Should I run a separate openvpn server on
>>>each
>>>>>>> system to be backed up with my laptop as the client?
>>>>>>
>>>>>> If you can configure the router to forward the port used by the
>>>OpenVPN
>>>>>> server to your laptop, you can run the server on your laptop.
>>>>>
>>>>> I can't rely on being able to configure the router unfortunately,
>>>but
>>>>> I have to admit admin/admin does work a lot of the time.
>>>>>
>>>>>> But, as is more likely, when you can not configure the router,
>>>running
>>>>>> an
>>>>>> OpenVPN server on (at least one) remote system and having your
>>>laptop
>>>>>> connect to that, you can have the other systems push to your laptop
>>>over
>>>>>> the VPN-link.
>>>>>> Either directly (by establishing multiple VPN-links from your
>>>laptop
>>>>>> (one
>>>>>> to each server) or via one of the remote systems.
>>>>>
>>>>> So I'm sure I understand, I should run the openvpn server on one of
>>>my
>>>>> remote systems and connect to that with each of the other remote
>>>>> systems and the laptop.  Then I can back up from any of the remote
>>>>> systems to the laptop and all the laptop needs to be able to do is
>>>>> make an outbound connection to the openvpn server?
>>>>
>>>> 2 options:
>>>> 1) OpenVPN on every remote system and have laptop connect to all
>>>remote
>>>> systems for the backup
>>>>
>>>> 2) OpenVPN on 1 remote system (configured as router for the
>>>VPN-links)
>>>>  - laptop and other remote systems connect to this remote system
>>>>  - backup are sent to laptop via this one remote system
>>>
>>>#2 sounds cooler.  Is that what you'd do?
>>>
>>>- Grant
>>
>> Yes.
>> With the VPN server being at my home network.
>
> Need to add to this:
> Option #2 has a few downsides:
> 1) The system running the VPN-server will have a lot more bandwidth
> utilisation. (Backups for other systems will go through the link this one
> has)
> 2) If that system is down, none of the other systems can be accessed via VPN.
>
> For me the downsides don't count as the server can be accessed really
> easily and I pay the same for my home internet connection when I use it or
> don't use it.

Convinced.  Thank you for your help.

- Grant


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-06-27  6:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-25  7:02 [gentoo-user] {OT} Incorporating openvpn in backup scheme Grant
2013-06-25  7:06 ` J. Roeleveld
2013-06-26  5:52   ` Michael Orlitzky
2013-06-26  7:54   ` Grant
2013-06-26  7:56     ` J. Roeleveld
2013-06-26  8:02       ` Grant
2013-06-26  8:06         ` joost
2013-06-26  8:12           ` J. Roeleveld
2013-06-27  6:43             ` Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox