Re: Distcc Help. Setting Up A VPN.



Begin <5_ORj.570$Q97.241@xxxxxxxxxxxx>
On Wed, 30 Apr 2008 00:23:29 GMT, Timmy <Timmy@xxxxxxxxxxxxxx> wrote:
[line lengths fixed]
Inet is toooo freaking slow! Anyone knows how to create routing tables
for each VPN?

Several ways, actually. You can start with route(8) to do it manually,
then move on to routed(8) to use RIPv2[1], or install something like
quagga from ports to run OSPF. This progressively gets trickier and
will require quite a bit of reading to understand what it is all about.

It's an interesting opportunity to learn something about networking,
but it won't necessairily make your slow internet faster. To see why,
consider two things:

First, crypto is computation heavy. Edge boxes with crypto accelleration
could help here.

Second, if your links are asymmetrical, consider that any traffic from
your friends in your fat downstream will have to have passed through the
other side's tiny upstream. You get at most the lowest speed of all the
links in the network path. In scenarios like yours the two ``last mile''
ends (and for ADSL specifically, the upstreams) are likely the slowest
links in the path.

If you want faster networking, you could upgrade your links, or if
your friends are close enough, provide your own. Solutions might
involve wireless links like the usual wifi (see also: cantenna) or the
build-it-yourself RONJA, or possibly a bit of cable and a suitable
networking technology (but beware of ground loops and lightning strikes).


Yeah, I know what you're thinking, why not use one box/switch/routers
for all 21 computers. That COULD pose a security problem and nobody
wants to do it that way.

I think security is the least of your worries there. While it is one
way to reduce the complexity, it creates an unnecessairy single point
of failure. There is a better way to reduce the number of VPN links
required.

What is usually done is trust the local network and have a device ``on
the edge'' that will provide VPN tunnels to other such networks to
connect all machines in the network at once, instead of one at a time.
This is much simpler than trying to have N computers setup VPNs to N-M
other computers (where M is the number of machines in the local network
that don't need a VPN link). To see why, count the number of networks,
and count the number of machines in each network. Then count the number
of VPN links needed in each case.


I have a feeling that I'm over analyzing everything and this is
basic stuff that should be simple to setup. I have a tendency to
over-complicate everything.

I used to think that too. I often was, but I also often was just plain
wrong in my assumptions, and as I gained understanding of what was
really going on, I learned to separate this problem from other problems
in a way that made it solvable, and then solve them one at a time.


And something about line lengths.


[1] RIP(v1) is outdated (excercise: find out why). RIPv2 got updated
and might be just the thing to get started with learning how
dynamic routing protocols work in practice.

--
j p d (at) d s b (dot) t u d e l f t (dot) n l .
This message was originally posted on Usenet in plain text.
Any other representation, additions, or changes do not have my
consent and may be a violation of international copyright law.
.



Relevant Pages

  • Re: Vista, SBS 2003 and RAS not working
    ... We have a windows SBS 2003 server – straight out of the box, ... The VPN connection between your computer and the VPN server could not ... You mention that the clients are Vista machines, which means that their built-in firewall works on outgoing messages as well as incoming ones, and the firewall needs to be told that outgoing PPTP VPN connections should be allowed. ... Computers don't need to be joined to the domain to connect by VPN, by the way, so you can use other remote computers for testing, it's just that only domain machines get access to all network resources easily. ...
    (microsoft.public.windows.server.sbs)
  • Re: VPN and XP SP2 woes
    ... Stock MS VPN, ... Employer's network is NT. ... >> Is your VPN connection using only Microsoft software or is it third ... >>> with both machines and the results were identical. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: [Full-disclosure] Remote Desktop Command Fixation Attacks
    ... This set of steps is redundant in many places, and it's also enormously expensive, since you're using no less than three different expensive bits of networking hardware (AP, PIX, VPN Concentrator), in addition to a bunch of x86 server hardware, windows server licenses, and at least one ISA license. ... Your computers necessarily don't have full access to your network infrastructure when they aren't logged on, so GPOs, software updates, etc can't be applied at the times you want them to be applied. ... Turning on, enabling, and implementing every possible security setting and device you think of is not defence in depth, and will probably only have two effects - your users won't use your wireless network, and you'll burn so much cash you won't have any left to spend on *useful* security measures. ...
    (Full-Disclosure)
  • VPN and XP SP2 woes
    ... I installed SP2 a week ago from stand-alone offline install file. ... All has been working fine with both machines and I am quite happy with the ... Today I needed to access my employer's private network via VPN connection. ...
    (microsoft.public.windowsxp.help_and_support)
  • TidBITS#792/15-Aug-05
    ... We also note the release of Security Update 2005-007, ... Macintosh FTP client, free for educational and charitable use. ... mentioned virtual private network (VPN) technologies. ...
    (comp.sys.mac.digest)

Loading