Networking Forums

Networking Forums > Computer Networking > Linux Networking > PopTop VPN

Reply
 
 
Captain Beefheart
Guest
Posts: n/a

 
      07-19-2004, 06:34 PM
I posted a message a little earlier about setting up a VPN. Some people
responded - thanks - but what they suggested was a little too complicated
for my needs and my current setup (some needed you to be running a DNS
server and we're not, for example).

In particular, one of our specific needs is that people are able to connect
from Windows machines and without having to install drivers etc.

To this end, PopTop Linux-based PPTP server looks good. Webmin has a module
so configuration shouldn't prove very difficult.

http://www.poptop.org/

Has anybody had any experience with this software?
 
Reply With Quote
 
 
 
 
Someone
Guest
Posts: n/a

 
      07-19-2004, 08:22 PM

I am not looking for things like Kazaa, eMule, and other p2p sharing
filesystems.

The problem I like to solve is the following :

I want a very large amount of diskspace, lets say larger then one single PC can
hold. I also have a number of "old" PCs and other boxes hanging around. I would
now like to fill them up with hard disks (in general, they already are) connect
them to a network but present them as one single filespace.

My first naive idea was the following:

on PC1, create a "shared folder" in /shared
on PC2, create a "shared folder" in /shared

Now on PC3 mount both, eg.

mount -t nfs PC1:/shared /nwview
mount -t nfs PC2:/shared /nwview

However this 2nd command fails of course while /nwview has already been
occupied. The problem is also not browsing the shared filespace but saving data
into it. Eg. for browsing I could create scripts like dls which just, scans and
sorts all the files on all the /shared folders of all PCs available. (In fact
the p2p sharing filesystems could handle this...). The tricky part is of course
transparantly write to this filespace as if it is just one single directory
entry.

I also would like to use this idea so that, when I need more diskspace, I can
just add another network box. The approach should be such that none of the
users need to change something.

Is it also possible to do this in a heterogenous NW, eg. boxes with both
Linux/Windows (and in fact Solaris as well)
I guess that, once i could set it up on a linux box, I could reexport this
filespace again using Samba and make it available for the Win PC's as well.

K. Venken


 
Reply With Quote
 
Juhan Leemet
Guest
Posts: n/a

 
      07-19-2004, 11:05 PM
On Mon, 19 Jul 2004 22:22:21 +0200, Someone wrote:
> I am not looking for things like Kazaa, eMule, and other p2p sharing
> filesystems.
>
> The problem I like to solve is the following :
>
> I want a very large amount of diskspace, lets say larger then one single PC can
> hold. I also have a number of "old" PCs and other boxes hanging around. I would
> now like to fill them up with hard disks (in general, they already are) connect
> them to a network but present them as one single filespace.
>
> My first naive idea was the following:
>
> on PC1, create a "shared folder" in /shared
> on PC2, create a "shared folder" in /shared
>
> Now on PC3 mount both, eg.
>
> mount -t nfs PC1:/shared /nwview
> mount -t nfs PC2:/shared /nwview
>
> However this 2nd command fails of course while /nwview has already been
> occupied. The problem is also not browsing the shared filespace but saving data
> into it. Eg. for browsing I could create scripts like dls which just, scans and
> sorts all the files on all the /shared folders of all PCs available. (In fact
> the p2p sharing filesystems could handle this...). The tricky part is of course
> transparantly write to this filespace as if it is just one single directory
> entry.


Use the automounter and indirect maps. That's how the /home directories
are assembled. They can be on different servers, for different users. That
does mean though that you will have to specify at least some
distinguishable directories in your indirect maps. I don't know of a way
to bundle a number of machines into a virtual disk concatenation over a
number of machines. The problem there would seem to be "who owns the
directories? inode allocations?" The NFS approach leaves each machine to
organize and manage its own file system space. The client machine(s) then
can assemble directories (view) that spans over several machines.

This is exactly how large installations of Sun Solaris (and other *nix)
are set up. They might use NIS, NIS+, LDAP or something else for name
lookups or authentication. The main part is NFS+automounter.

Personally, I use NIS (on a secure private network) and distribute the
automounter maps from my NIS master. There are some security issues with
NIS, but there are ways to solve them (e.g. secure RPC). YMMV

BTW, you can have a "default" server for all user homes, and then specify
selected users or groups (e.g all accounts starting with p* or in a
range, etc.) to reside on specific other NFS servers.

> I also would like to use this idea so that, when I need more diskspace,
> I can just add another network box. The approach should be such that
> none of the users need to change something.


Yes, that's easy. Setup the new machine and integrate it with your network
(esp. name lookup, and automounter maps, etc.). You do need a universal
lookup scheme. NFS only works if the uid and gid numbers are the same
between client and servers. Trying to maintain that by hand in server /etc
config files would be a nightmare (I've seen that go wrong). Set up right.

You can "move" (obviously only when they are inactive) users /home
directories from server to server and update the automounter maps and they
need not know that anything has changed, next time they log on. To be
safe, you should probably lock out the user login when you're relocating
his home directories, otherwise he will surely lose something (e.g.
written to old machine when transfer almost completed).

> Is it also possible to do this in a heterogenous NW, eg. boxes with both
> Linux/Windows (and in fact Solaris as well)
> I guess that, once i could set it up on a linux box, I could reexport this
> filespace again using Samba and make it available for the Win PC's as well.


I suppose. I don't think NFS likes reexporting imported NFS mount points.
The understanding is that you should mount from the "owning" computer, so
that you don't add vulnerability/reliability issues with intermediate gear.

Since Samba is just a "normal application" on *nix machines, it is more
tolerant, and in fact probably cannot distinguish between local/remote
files. I believe you can reexport with Samba.

--
Juhan Leemet
Logicognosis, Inc.

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      07-19-2004, 11:51 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.networking Someone <(E-Mail Removed)> suggested:
{..]

> I want a very large amount of diskspace, lets say larger then one single PC can
> hold. I also have a number of "old" PCs and other boxes hanging around. I would
> now like to fill them up with hard disks (in general, they already are) connect
> them to a network but present them as one single filespace.

[..]

I'd rethink that approach, regarding your electricity bill.
200-300GB IDE disks aren't that expensive, with a bunch of them in
1-3 boxes, you'd have lots of storage.

> I also would like to use this idea so that, when I need more diskspace, I can
> just add another network box. The approach should be such that none of the
> users need to change something.


> Is it also possible to do this in a heterogenous NW, eg. boxes with both
> Linux/Windows (and in fact Solaris as well)
> I guess that, once i could set it up on a linux box, I could reexport this
> filespace again using Samba and make it available for the Win PC's as well.


Shouldn't be that difficult using lvm and some network block
device like Peter's ENBD, search freshmeat.net for "ENBD".

Good luck

BTW
Unsure why your post shows up as reply?

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA/F6RAkPEju3Se5QRAicmAJoC2FWqW9cssk90yqA0yvPguX7jDAC aAiel
PFw0tPjkB/ZaYvjqJcjDQNw=
=22C5
-----END PGP SIGNATURE-----
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Poptop question bolero92@yahoo.com Linux Networking 0 12-29-2004 02:33 AM
poptop - hundreds processes.. :( ssewer Linux Networking 0 08-27-2004 10:00 AM
Help on PopTop Marco Paglioni Linux Networking 1 06-12-2004 09:50 AM
Poptop Roman Lobus Linux Networking 2 03-04-2004 09:45 PM
PoPToP and ip_nat_pptp Carl Farrington Linux Networking 0 01-18-2004 09:42 PM



1 2 3 4 5 6 7 8 9 10 11