Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #55865 > unrolled thread

Headless RPi VPN gateway

Started byMike Easter <MikeE@ster.invalid>
First post2019-04-25 18:43 -0700
Last post2019-04-27 09:29 +0200
Articles 7 — 4 participants

Back to article view | Back to alt.os.linux


Contents

  Headless RPi VPN gateway Mike Easter <MikeE@ster.invalid> - 2019-04-25 18:43 -0700
    Re: Headless RPi VPN gateway "J.O. Aho" <user@example.net> - 2019-04-26 07:02 +0200
      Re: Headless RPi VPN gateway Mike Easter <MikeE@ster.invalid> - 2019-04-26 01:24 -0700
      Re: Headless RPi VPN gateway Dan Purgert <dan@djph.net> - 2019-04-26 10:46 +0000
        Re: Headless RPi VPN gateway "J.O. Aho" <user@example.net> - 2019-04-26 22:11 +0200
          Re: Headless RPi VPN gateway Paul <nospam@needed.invalid> - 2019-04-26 17:48 -0400
            Re: Headless RPi VPN gateway "J.O. Aho" <user@example.net> - 2019-04-27 09:29 +0200

#55865 — Headless RPi VPN gateway

FromMike Easter <MikeE@ster.invalid>
Date2019-04-25 18:43 -0700
SubjectHeadless RPi VPN gateway
Message-ID<gif61oF6d1rU1@mid.individual.net>
Here's a nice one for someone who likes to use VPN and has a spare RPi 
to setup to do it.

https://www.tomshardware.com/reviews/raspberry-pi-vpn-gateway,6103.html 
How to Use Raspberry Pi as a VPN Gateway

This one is a little more complicated because it involves some routing 
and firewall

https://www.instructables.com/id/Raspberry-Pi-VPN-Gateway-NordVPN/ 
Raspberry Pi VPN Gateway - NordVPN

He did another one for TunnelBear instead of Nord


-- 
Mike Easter

[toc] | [next] | [standalone]


#55868

From"J.O. Aho" <user@example.net>
Date2019-04-26 07:02 +0200
Message-ID<gifhnaF8litU1@mid.individual.net>
In reply to#55865
On 26/04/2019 03.43, Mike Easter wrote:
> Here's a nice one for someone who likes to use VPN and has a spare RPi 
> to setup to do it.
> 
> https://www.tomshardware.com/reviews/raspberry-pi-vpn-gateway,6103.html 
> How to Use Raspberry Pi as a VPN Gateway
> 
> This one is a little more complicated because it involves some routing 
> and firewall
> 
> https://www.instructables.com/id/Raspberry-Pi-VPN-Gateway-NordVPN/ 
> Raspberry Pi VPN Gateway - NordVPN
> 
> He did another one for TunnelBear instead of Nord

Don't forget that the RPi may become a network bottle neck, specially if 
you need to move large amount of data, a SBC with dual gigabit NICs 
could be a better option.

[toc] | [prev] | [next] | [standalone]


#55869

FromMike Easter <MikeE@ster.invalid>
Date2019-04-26 01:24 -0700
Message-ID<gifti1Fb5lgU1@mid.individual.net>
In reply to#55868
J.O. Aho wrote:
> Don't forget that the RPi may become a network bottle neck, specially if 
> you need to move large amount of data, a SBC with dual gigabit NICs 
> could be a better option.

I'm reading that duplex gigabit ethernet is likely to max out the little 
cpu capacity.

There's a banana pi w/ 4 gigabit ethernet ports; another one w/ 2.

-- 
Mike Easter

[toc] | [prev] | [next] | [standalone]


#55870

FromDan Purgert <dan@djph.net>
Date2019-04-26 10:46 +0000
Message-ID<slrnqc5ocj.n0k.dan@djph.net>
In reply to#55868
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

J.O. Aho wrote:
> On 26/04/2019 03.43, Mike Easter wrote:
>> Here's a nice one for someone who likes to use VPN and has a spare RPi 
>> to setup to do it.
>> 
>> https://www.tomshardware.com/reviews/raspberry-pi-vpn-gateway,6103.html 
>> How to Use Raspberry Pi as a VPN Gateway
>> 
>> This one is a little more complicated because it involves some routing 
>> and firewall
>> 
>> https://www.instructables.com/id/Raspberry-Pi-VPN-Gateway-NordVPN/ 
>> Raspberry Pi VPN Gateway - NordVPN
>> 
>> He did another one for TunnelBear instead of Nord
>
> Don't forget that the RPi may become a network bottle neck, specially if 
> you need to move large amount of data, a SBC with dual gigabit NICs 
> could be a better option.

Most residential services will bottleneck well before the RPi will.
Although if you're on one of those 300mbit+ symmetric services ... 


-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlzC4ZMACgkQjhHd8xJ5
ooH6+wf5AQfRjSfdTUB/uoAEborYe/3jAGILiyZ+htmuBh29AithoVKuxqsou0/b
k66cRZ84ijxDYviAxDLOqa4+rJ9QzczNy4ETzKZDINEVZRVMti5G3AZAGtpshC06
QIHlFCWEmHz4enOYFt1JYrFRh4Bpozj+W53qRaQi8CT5+R6jn/4A7lrfBc21aP8H
nAteQ6c3fbLZfc3EMdexU53ITQLDGGRHDAh3bIL1meiCpW8yxS9LirAZorC6LOuo
630dK4b844rZE1E4kKudtgfFA2IQs0tKmxu4+PBeEozEcnOf9W4Nw8/Elx08G352
IjAy4OEmucDcXkyPzNk3xu5O3zT7ow==
=/I0O
-----END PGP SIGNATURE-----

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

[toc] | [prev] | [next] | [standalone]


#55878

From"J.O. Aho" <user@example.net>
Date2019-04-26 22:11 +0200
Message-ID<gih6v4Fk283U1@mid.individual.net>
In reply to#55870
On 26/04/2019 12.46, Dan Purgert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> J.O. Aho wrote:
>> On 26/04/2019 03.43, Mike Easter wrote:
>>> Here's a nice one for someone who likes to use VPN and has a spare RPi
>>> to setup to do it.
>>>
>>> https://www.tomshardware.com/reviews/raspberry-pi-vpn-gateway,6103.html
>>> How to Use Raspberry Pi as a VPN Gateway
>>>
>>> This one is a little more complicated because it involves some routing
>>> and firewall
>>>
>>> https://www.instructables.com/id/Raspberry-Pi-VPN-Gateway-NordVPN/
>>> Raspberry Pi VPN Gateway - NordVPN
>>>
>>> He did another one for TunnelBear instead of Nord
>>
>> Don't forget that the RPi may become a network bottle neck, specially if
>> you need to move large amount of data, a SBC with dual gigabit NICs
>> could be a better option.
> 
> Most residential services will bottleneck well before the RPi will.
> Although if you're on one of those 300mbit+ symmetric services ...

Some parts of the world we have 1gbit+, so the RPi will become the 
bottleneck. Nowadays most standard routers has the capability to be the 
VPN client, so you don't need yet another device.


-- 

  //Aho

[toc] | [prev] | [next] | [standalone]


#55884

FromPaul <nospam@needed.invalid>
Date2019-04-26 17:48 -0400
Message-ID<q9vuah$d82$1@dont-email.me>
In reply to#55878
J.O. Aho wrote:
> On 26/04/2019 12.46, Dan Purgert wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> J.O. Aho wrote:
>>> On 26/04/2019 03.43, Mike Easter wrote:
>>>> Here's a nice one for someone who likes to use VPN and has a spare RPi
>>>> to setup to do it.
>>>>
>>>> https://www.tomshardware.com/reviews/raspberry-pi-vpn-gateway,6103.html
>>>> How to Use Raspberry Pi as a VPN Gateway
>>>>
>>>> This one is a little more complicated because it involves some routing
>>>> and firewall
>>>>
>>>> https://www.instructables.com/id/Raspberry-Pi-VPN-Gateway-NordVPN/
>>>> Raspberry Pi VPN Gateway - NordVPN
>>>>
>>>> He did another one for TunnelBear instead of Nord
>>>
>>> Don't forget that the RPi may become a network bottle neck, specially if
>>> you need to move large amount of data, a SBC with dual gigabit NICs
>>> could be a better option.
>>
>> Most residential services will bottleneck well before the RPi will.
>> Although if you're on one of those 300mbit+ symmetric services ...
> 
> Some parts of the world we have 1gbit+, so the RPi will become the 
> bottleneck. Nowadays most standard routers has the capability to be the 
> VPN client, so you don't need yet another device.

There is this thing. Quad core. USB3 connectors. $99

https://developer.nvidia.com/embedded/buy/jetson-nano-devkit

But you are not likely to have that "sitting around".

The heatsink is only in play, when the GPU portion is
flat out (doing recognition tasks).

I'm still waiting for someone to bench those USB3
connectors, to see if they're "real". Not fake, like
a certain other company where the USB3 ports run at
40MB/sec.

With some ASIX USB3 to GbE dongles ($20), you could convert that $99
thing into a "fairly insubstantial router". Suitable for GbE.

Using the $35 PI for a quick test, might indicate where
any bottlenecks are, before you pop for a $99 device.
If you were only getting 3MB/sec, like some early home
routers did, you could stop right there...

This is a hobby project, so you should not expect it
to withstand a "cost analysis". Nobody is going into
production, based on this thread or anything. You could
probably buy some MicroTik product and use that as a
platform for the project, and save a few bucks. That might
have a SOC in it with crypto accelerators and so on.
What you're really looking for, is a SOC with the
right materials internally for the work, and with
sufficient I/O. And modern router SOCs already have
Ethernet on the side (the switch chip is in the SOC).

    Paul

[toc] | [prev] | [next] | [standalone]


#55890

From"J.O. Aho" <user@example.net>
Date2019-04-27 09:29 +0200
Message-ID<giiemeFs3dpU1@mid.individual.net>
In reply to#55884
On 26/04/2019 23.48, Paul wrote:
> J.O. Aho wrote:
>> On 26/04/2019 12.46, Dan Purgert wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA256
>>>
>>> J.O. Aho wrote:
>>>> On 26/04/2019 03.43, Mike Easter wrote:
>>>>> Here's a nice one for someone who likes to use VPN and has a spare RPi
>>>>> to setup to do it.
>>>>>
>>>>> https://www.tomshardware.com/reviews/raspberry-pi-vpn-gateway,6103.html 
>>>>>
>>>>> How to Use Raspberry Pi as a VPN Gateway
>>>>>
>>>>> This one is a little more complicated because it involves some routing
>>>>> and firewall
>>>>>
>>>>> https://www.instructables.com/id/Raspberry-Pi-VPN-Gateway-NordVPN/
>>>>> Raspberry Pi VPN Gateway - NordVPN
>>>>>
>>>>> He did another one for TunnelBear instead of Nord
>>>>
>>>> Don't forget that the RPi may become a network bottle neck, 
>>>> specially if
>>>> you need to move large amount of data, a SBC with dual gigabit NICs
>>>> could be a better option.
>>>
>>> Most residential services will bottleneck well before the RPi will.
>>> Although if you're on one of those 300mbit+ symmetric services ...
>>
>> Some parts of the world we have 1gbit+, so the RPi will become the 
>> bottleneck. Nowadays most standard routers has the capability to be 
>> the VPN client, so you don't need yet another device.
> 
> There is this thing. Quad core. USB3 connectors. $99
> 
> https://developer.nvidia.com/embedded/buy/jetson-nano-devkit
> 
> But you are not likely to have that "sitting around".
> 
> The heatsink is only in play, when the GPU portion is
> flat out (doing recognition tasks).
> 
> I'm still waiting for someone to bench those USB3
> connectors, to see if they're "real". Not fake, like
> a certain other company where the USB3 ports run at
> 40MB/sec.

The problem usually is solved when you can spend more money on the SBC, 
there are some great products like

http://linuxgizmos.com/linux-based-networking-sbc-features-five-gbe-ports-and-optional-sfp

but then it will dig a lot bigger hole in your pocket.

This may be a bit cheaper, but as they don't list the price, I would bet 
it's not cheap

http://www.gateworks.com/product/item/newport-gw6200-single-board-computer

> With some ASIX USB3 to GbE dongles ($20), you could convert that $99
> thing into a "fairly insubstantial router". Suitable for GbE.

I have been eyeing this one for some time, without getting to the point 
of spending the money:

http://linuxgizmos.com/sbc-packs-six-port-gbe-switch-runs-linux-on-armada-38x-soc/

The reason I have hesitated is that ARMADA 388 SoC they are using, the 
ARMADA 39x I think it was (it's some time since I looked into it) which 
was a lot better suited for shuffling traffic.


> Using the $35 PI for a quick test, might indicate where
> any bottlenecks are, before you pop for a $99 device.
> If you were only getting 3MB/sec, like some early home
> routers did, you could stop right there...

That's true.

>  And modern router SOCs already have
> Ethernet on the side (the switch chip is in the SOC).

Nowadays even your traditional CPU is a SOC.


-- 

   //Aho

[toc] | [prev] | [standalone]


Back to top | Article view | alt.os.linux


csiph-web