RE: Share folder over internet
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Laszlo Nagy Sent: Friday, 17 August 2007 9:43 PM To: Norberto Meijome; freebsd-questions@freebsd.org Subject: Re: Share folder over internet It is hardly the freebsd community's fault that Skype / Ebay doesn't create a FreeBSD binary. Actually, the linux compatibility layer is one of the great things in FreeBSD. Of course, you may be having other issues we can't know about until you kindly tell us (on a separate thread pls...) Yes, I agree. I did not tell it is the fault of the FreeBSD community. However, when you need to install an application server for a couple of diskless X terminals, you should not use FreeBSD. I'm serious. There are some very important applications that just don't work. :-( ::shrug:: each solution needs to be considered for the problem. It is, after all, your server, feel free to install linux or pay for MS licenses... (btw, have ever actually used windows file sharing over a slow link ? whatever 'ease of use' you *may* have gain (and i'm not sure how much of that there really is) will probably be lost when you consider other factors...) Well, yes. You are right about these factors. In my case, it is almost too late to migrate to Linux. It would cost too much and there would be other disadvantages too. For some things, FreeBSD is definitely better. Best, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What about ssl-explorer? http://www.sshtools.com/showSslExplorerCommunity.do and the howto http://techbytes.m2technology.com/networking/ssl-vpn-how-to-ssl-explorer-on- freebsd/ Regards, Yance Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
On Thursday 16 August 2007, Pollywog wrote: On Thursday 16 August 2007 21:39:25 Laszlo Nagy wrote: Now I'm starting to loose my enthusiasm about FreeBSD! - sshfs works for Linux, but not for FreeBSD, although ssh is open source and well documented. The guy who developed it says that he could not implement fuse very well because the source code of the FreeBSD kernel is a mess, can this be true? Not true. I was told the same thing, in regard to Fuse. It also does not compile in FreeBSD 6.2 Try the latest version in the ports. -- Anish Mistry [EMAIL PROTECTED] AM Productions http://am-productions.biz/ pgpuBpBfFmFZR.pgp Description: PGP signature
Re: Share folder over internet
It is hardly the freebsd community's fault that Skype / Ebay doesn't create a FreeBSD binary. Actually, the linux compatibility layer is one of the great things in FreeBSD. Of course, you may be having other issues we can't know about until you kindly tell us (on a separate thread pls...) Yes, I agree. I did not tell it is the fault of the FreeBSD community. However, when you need to install an application server for a couple of diskless X terminals, you should not use FreeBSD. I'm serious. There are some very important applications that just don't work. :-( ::shrug:: each solution needs to be considered for the problem. It is, after all, your server, feel free to install linux or pay for MS licenses... (btw, have ever actually used windows file sharing over a slow link ? whatever 'ease of use' you *may* have gain (and i'm not sure how much of that there really is) will probably be lost when you consider other factors...) Well, yes. You are right about these factors. In my case, it is almost too late to migrate to Linux. It would cost too much and there would be other disadvantages too. For some things, FreeBSD is definitely better. Best, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
At 12:58 PM 8/16/2007, Laszlo Nagy wrote: Hi All, Here is a problem that I cannot solve. I have two offices with two file servers (FreeBSD 6.1). Clients are accessing files over samba and nfs (on the local server). I would like to share some directory structures between the two offices. Originally I was thinking about sshfs (mount_sshfs) but I cannot compile fuse from the ports. NFS cannot share subdirectories, only whole filesystems and it is not secure to use over the internet. Security inside the LAN is not important. Most of these folders are put everything into it type, e.g. anyone can do anything with them. The users usually store doc, pdf, xls/gnumeric and txt files in them. I'm not interested in solutions where the end user needs to use a special program to access the files. For example, gftp is not an option. This is because these users sometimes does not know what a file is. I need nautilus integration, and mounting/mapping so the files can be opened from any program using file/open. What should I use? You need to create a VPN connection between your two offices. You can do this in a variety of ways, but probably the best solution would be to have static IP's for both offices and a router that has hardware support for VPNs at each office. You can connect the two offices via a VPN connection from router to router. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
You need to create a VPN connection between your two offices. You can do this in a variety of ways, but probably the best solution would be to have static IP's for both offices and a router that has hardware support for VPNs at each office. You can connect the two offices via a VPN connection from router to router. Well, we do not have static IP addresses, and the routers does not support VPN. Also I do not like the idea of VPN because I feel that would forward more packets than needed. I may be wrong. :-) Although we do not have static IP, we have DDNS. Is it possible to do VPN from one FreeBSD box to another and then what? Mount nfs? Mount smb? I can mount a remote smb volume then share it with another smb server, but it looks wreid to me and I'm also concerned about speed. I believe smb is not optimized for speed. If I have to use VPN then I would like to use the most traffic-efficient method over VPN. Can you suggest something? Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Share folder over internet
Hello Laszlo: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Laszlo Nagy Sent: Thursday, August 16, 2007 12:37 PM To: Derek Ragona; freebsd-questions@freebsd.org Subject: Re: Share folder over internet You need to create a VPN connection between your two offices. You can do this in a variety of ways, but probably the best solution would be to have static IP's for both offices and a router that has hardware support for VPNs at each office. You can connect the two offices via a VPN connection from router to router. Well, we do not have static IP addresses, and the routers does not support VPN. Also I do not like the idea of VPN because I feel that would forward more packets than needed. I may be wrong. :-) Although we do not have static IP, we have DDNS. Is it possible to do VPN from one FreeBSD box to another and then what? Mount nfs? Mount smb? I can mount a remote smb volume then share it with another smb server, but it looks wreid to me and I'm also concerned about speed. I believe smb is not optimized for speed. If I have to use VPN then I would like to use the most traffic-efficient method over VPN. Can you suggest something? Thanks, Have you considered NFS over IPSec? See: http://ezine.daemonnews.org/200402/nfs_via_ipsec_tunnel.html Regards, Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
On Aug 16, 2007, at 2:37 PMAug 16, 2007, Laszlo Nagy wrote: You need to create a VPN connection between your two offices. You can do this in a variety of ways, but probably the best solution would be to have static IP's for both offices and a router that has hardware support for VPNs at each office. You can connect the two offices via a VPN connection from router to router. Well, we do not have static IP addresses, and the routers does not support VPN. Also I do not like the idea of VPN because I feel that would forward more packets than needed. I may be wrong. :-) Although we do not have static IP, we have DDNS. Is it possible to do VPN from one FreeBSD box to another and then what? Mount nfs? Mount smb? I can mount a remote smb volume then share it with another smb server, but it looks wreid to me and I'm also concerned about speed. I believe smb is not optimized for speed. If I have to use VPN then I would like to use the most traffic-efficient method over VPN. Can you suggest something? Thanks, Laszlo Properly set up, the two office could appear as if they were local, only hindered by the speed of your internet connections. IMHO, a VPN is really the only way to go. Across that, you can use any method you'd prefer, NFS, smb, etc. Take a look at OpenVPN for more information. It's in the ports, and relatively easy to set up. - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
On Aug 16, 2007, at 12:37 PM, Laszlo Nagy wrote: You need to create a VPN connection between your two offices. You can do this in a variety of ways, but probably the best solution would be to have static IP's for both offices and a router that has hardware support for VPNs at each office. You can connect the two offices via a VPN connection from router to router. Well, we do not have static IP addresses, and the routers does not support VPN. Also I do not like the idea of VPN because I feel that would forward more packets than needed. I may be wrong. :-) A properly-configured VPN setup uses what Cisco calls a split config, where only traffic addressed to the subnet on the other side of the VPN actually goes through the VPN tunnel; normal traffic sent elsewhere goes out your normal default route. Some people have experienced VPN setups where all traffic goes through the tunnel, and those do indeed forward more traffic than they should. Although we do not have static IP, we have DDNS. Is it possible to do VPN from one FreeBSD box to another and then what? Mount nfs? Mount smb? I can mount a remote smb volume then share it with another smb server, but it looks wreid to me and I'm also concerned about speed. I believe smb is not optimized for speed. If I have to use VPN then I would like to use the most traffic-efficient method over VPN. Can you suggest something? Your goal to do filesharing safely over the Internet is best satisfied by having a VPN between two static netblocks, or at least individual IPs. openvpn makes a decent solution for FreeBSD, but if you're not willing to get static IPs and configure a VPN, well, then you probably need to re-evaluate your goals. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
Peter Svec wrote: Hello Laszlo, you don't need static IP address if you use hamachi. It is zero configuration VPN tool, which creates peer-to-peer tunnel between two host (with static or dynamic addresses). The problem is, that hamachi isn't in the ports yet. Take a look at http://www.freebsd.org/cgi/query-pr.cgi?pr=112982 and https://secure.logmein.com/products/hamachi/vpn.asp peter Sounds great. I'll ask my ISP about the fix IP though. Thank you for your answers! Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
Laszlo Nagy wrote: Peter Svec wrote: Hello Laszlo, you don't need static IP address if you use hamachi. It is zero configuration VPN tool, which creates peer-to-peer tunnel between two host (with static or dynamic addresses). The problem is, that hamachi isn't in the ports yet. Take a look at http://www.freebsd.org/cgi/query-pr.cgi?pr=112982 and https://secure.logmein.com/products/hamachi/vpn.asp peter Sounds great. I'll ask my ISP about the fix IP though. Thank you for your answers! Alternatively, you could use Dynamic DNS, as IIRC, OpenVPN supports using hostnames as opposed to IP's for the connection endpoint identifiers. Cheers! Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
Hello Laszlo, you don't need static IP address if you use hamachi. It is zero configuration VPN tool, which creates peer-to-peer tunnel between two host (with static or dynamic addresses). The problem is, that hamachi isn't in the ports yet. Take a look at http://www.freebsd.org/cgi/query-pr.cgi?pr=112982 and https://secure.logmein.com/products/hamachi/vpn.asp peter Laszlo Nagy wrote: You need to create a VPN connection between your two offices. You can do this in a variety of ways, but probably the best solution would be to have static IP's for both offices and a router that has hardware support for VPNs at each office. You can connect the two offices via a VPN connection from router to router. Well, we do not have static IP addresses, and the routers does not support VPN. Also I do not like the idea of VPN because I feel that would forward more packets than needed. I may be wrong. :-) Although we do not have static IP, we have DDNS. Is it possible to do VPN from one FreeBSD box to another and then what? Mount nfs? Mount smb? I can mount a remote smb volume then share it with another smb server, but it looks wreid to me and I'm also concerned about speed. I believe smb is not optimized for speed. If I have to use VPN then I would like to use the most traffic-efficient method over VPN. Can you suggest something? Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
Unless I'm very confused, BSD NFS can export directories and directory trees in addition to filesystems. See export(5). Internet security should be attainable with an appropriate firewall configuration that allows the servers to only talk to each other. IMHO you can export directory trees (-alldirs option), but if you do that then you can list each file system in /etc/exports only once. So it is impossible to export some (different) directories from a filesystem, but not others. But again, this is not a big problem when I use a VPN connection between the two file servers only. Coda is looks VERY interesting! :-) Two key features: high performance through client side persistent caching continued operation during partial network failures in server network Promising. I'm going to try it and let you know how it goes. Best, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
On 8/16/07, Laszlo Nagy [EMAIL PROTECTED] wrote: Hi All, Here is a problem that I cannot solve. I have two offices with two file servers (FreeBSD 6.1). Clients are accessing files over samba and nfs (on the local server). I would like to share some directory structures between the two offices. Originally I was thinking about sshfs (mount_sshfs) but I cannot compile fuse from the ports. NFS cannot share subdirectories, only whole filesystems and it is not secure to use over the internet. Unless I'm very confused, BSD NFS can export directories and directory trees in addition to filesystems. See export(5). Internet security should be attainable with an appropriate firewall configuration that allows the servers to only talk to each other. [...] What should I use? I often suggest Coda (ports/net/coda6_server coda6_client) for this sort of situation, but it has been so many years since I've used it myself that I don't know what state it is in these days. I hope the documentation has improved. Note the client runs on the local file server, so you don't need to change anything on end-users' workstations. In your case, though, it sounds like NFS would actually do what you need. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
I often suggest Coda (ports/net/coda6_server coda6_client) for this sort of situation, but it has been so many years since I've used it myself that I don't know what state it is in these days. I hope the documentation has improved. Note the client runs on the local file server, so you don't need to change anything on end-users' workstations. If it really has client side caching then it can be better than NFS. However, I just found this on their official website: snip There were several sweeping changes in freebsd, and in the case where the developers didn't exactly know how to solve it for Coda, they just removed the related code. For instance, they don't support vget with a device/inode number pair anymore, so they simply removed the complete coda_open codepath. As a result it is impossible to open any files or directories in /coda with the current fbsd kernel module. /snip Now I'm starting to loose my enthusiasm about FreeBSD! - sshfs works for Linux, but not for FreeBSD, although ssh is open source and well documented. The guy who developed it says that he could not implement fuse very well because the source code of the FreeBSD kernel is a mess, can this be true? - WEB-DAV fs works for Linux but not for FreeBSD, although DAV is well documented. Why? - Coda client does not work correctly because of... lack of kernel developers? Most suprisingly, Gnome 2.18 and nautilus CAN use WEB-DAV (both http and https), and it can also mount sshfs. But this is useless for me because I cannot really mount them, they are available in gnome vfs only. I see signs... is it really the kernel that prevents me from doing what I need to do? Today I also had trouble with mozilla flashplugin. It simply does not work, except with linux-firefox, but then Java stops working. Unfortuntely, I need to use both of them together. Skype does not work very well with FreeBSD, only in linux compat mode etc. I like the idea of having only one, consistent distribution, and having a ports tree and I see other advantages of FreeBSD but I'm starting to think that using it as an application server was a bad idea from my part, simply because the lack of working - otherwise widely used - applications. Sally... I'm sorry, it is late night here and I failed to solve 5 problems today. All of them could have been solved with one click on Linux or even M$ Windows. :-( Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
On Thu, 16 Aug 2007, Laszlo Nagy wrote: - sshfs works for Linux, but not for FreeBSD, although ssh is open source and well documented. The guy who developed it says that he could not implement fuse very well because the source code of the FreeBSD kernel is a mess, can this be true? No idea. Have you tried /usr/ports/sysutils/fusefs-sshfs? -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
On 8/16/07, Laszlo Nagy [EMAIL PROTECTED] wrote: I often suggest Coda (ports/net/coda6_server coda6_client) for this sort of situation, but it has been so many years since I've used it myself that I don't know what state it is in these days. I hope the documentation has improved. Note the client runs on the local file server, so you don't need to change anything on end-users' workstations. If it really has client side caching then it can be better than NFS. However, I just found this on their official website: snip There were several sweeping changes in freebsd, and in the case where the developers didn't exactly know how to solve it for Coda, they just removed the related code. For instance, they don't support vget with a device/inode number pair anymore, so they simply removed the complete coda_open codepath. As a result it is impossible to open any files or directories in /coda with the current fbsd kernel module. /snip Like most of their documentation, that seems to be out of date. According to their codebase, that particular issue was fixed a few months ago. But I certainly wouldn't trust Coda (on ANY platform) for production use without a bunch of testing. Which is too bad, it seems like a neat solution looking for problems to solve. I played with it for a while several years ago and I liked it enough to wish I had a problem that required it. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
On Thursday 16 August 2007 21:39:25 Laszlo Nagy wrote: Now I'm starting to loose my enthusiasm about FreeBSD! - sshfs works for Linux, but not for FreeBSD, although ssh is open source and well documented. The guy who developed it says that he could not implement fuse very well because the source code of the FreeBSD kernel is a mess, can this be true? I was told the same thing, in regard to Fuse. It also does not compile in FreeBSD 6.2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
On Thu, 16 Aug 2007 23:39:25 +0200 Laszlo Nagy [EMAIL PROTECTED] wrote: Today I also had trouble with mozilla flashplugin. It simply does not work, except with linux-firefox, but then Java stops working. Unfortuntely, I need to use both of them together. hi Laszlo, search the archives of this list - there are several threads explaining how to get either linux-firefox of firefox running with both flash and java. Once you've read them and attempted the steps described, if you have any other questions / problems , please do start another thread and we'll be happy to help. Skype does not work very well with FreeBSD, only in linux compat mode etc. net/skype is skype 1.2.8 for linux works fine - within the limitations of what skype had back @ the 1.2 version. net/skype-dev is the latest linux beta from skype themselves. It works fine except for sound, as it supports only ALSA. Again, search the archives (I think either here or in multimedia@ ) for references to this. It is hardly the freebsd community's fault that Skype / Ebay doesn't create a FreeBSD binary. Actually, the linux compatibility layer is one of the great things in FreeBSD. Of course, you may be having other issues we can't know about until you kindly tell us (on a separate thread pls...) I like the idea of having only one, consistent distribution, and having a ports tree and I see other advantages of FreeBSD but I'm starting to think that using it as an application server was a bad idea from my part, simply because the lack of working - otherwise widely used - applications. ::shrug:: each solution needs to be considered for the problem. It is, after all, your server, feel free to install linux or pay for MS licenses... (btw, have ever actually used windows file sharing over a slow link ? whatever 'ease of use' you *may* have gain (and i'm not sure how much of that there really is) will probably be lost when you consider other factors...) Sally... I'm sorry, it is late night here and I failed to solve 5 problems today. All of them could have been solved with one click on Linux or even M$ Windows. :-( yes...sometimes these things happen... but usually, for me, it's the other way around with MS ;) good luck, B _ {Beto|Norberto|Numard} Meijome They never open their mouths without subtracting from the sum of human knowledge. Thomas Brackett Reed I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
In the last episode (Aug 17), Pollywog said: On Thursday 16 August 2007 21:39:25 Laszlo Nagy wrote: Now I'm starting to loose my enthusiasm about FreeBSD! - sshfs works for Linux, but not for FreeBSD, although ssh is open source and well documented. The guy who developed it says that he could not implement fuse very well because the source code of the FreeBSD kernel is a mess, can this be true? I was told the same thing, in regard to Fuse. It also does not compile in FreeBSD 6.2 Neither the sysutils/fusefs-sshfs nor the sysutils/fusefs-kmod ports are marked BROKEN. If they don't compile on your system, have you submitted a PR? -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Share folder over internet
On Friday 17 August 2007 04:11:17 Dan Nelson wrote: In the last episode (Aug 17), Pollywog said: On Thursday 16 August 2007 21:39:25 Laszlo Nagy wrote: Now I'm starting to loose my enthusiasm about FreeBSD! - sshfs works for Linux, but not for FreeBSD, although ssh is open source and well documented. The guy who developed it says that he could not implement fuse very well because the source code of the FreeBSD kernel is a mess, can this be true? I was told the same thing, in regard to Fuse. It also does not compile in FreeBSD 6.2 Neither the sysutils/fusefs-sshfs nor the sysutils/fusefs-kmod ports are marked BROKEN. If they don't compile on your system, have you submitted a PR? The maintainer of the fuse-encfs port was aware of the problem and said it was due to the state of some kernel code, if I remember correctly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]