ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > Living Room

Looking for P2p file sharing for personal use

<< < (8/22) > >>

Innuendo:
kartal, I've never had to set up a VPN myself. I've never had to use one, either, so your information on this topic far surpasses my own.

Looks like you are either going to have to buy something or program your own. No wonder the PowerFolder guys started charging for their app. There's evidently nothing else like it.

kartal:
kartal, I've never had to set up a VPN myself. I've never had to use one, either, so your information on this topic far surpasses my own.

Looks like you are either going to have to buy something or program your own. No wonder the PowerFolder guys started charging for their app. There's evidently nothing else like it.
-Innuendo (June 16, 2009, 08:35 PM)
--- End quote ---

Yes Powerfolder is very nice, I have been using it for long time(since it was opensource).

I do not have any problem with people charging for their efforts, good for them. But I have this distaste for crippled trialware. It is waste of time, what is the frigging point of offering someone to try a version that is crippled? I mean if their code is so precious they should keep it for themselves, it should not be even on the market. I just hate it when developers offer trial version that lacks the most important features, I wonder that is the real genius behind such hesitant behaviour.

That is the main reason I do not want to go PF commercial version, I am not going to buy something without trying it fully. The cash amount is not the problem but the thing is that I am trying to build a real, flexible pipeline. I would hate to see if it breaks apart after buying it.

4wd:
Of the 5 or so times that I tried to get VPN working over the years I found that, (for XP anyway), using MS's VPN was an absolute PITA to get working and in the end I gave up trying to use it, (this was over both internet and even LAN where I had total control over the machines).

OTOH, OpenVPN was rather easier and I had a connection working in under an hour with a friend over the internet even though I'd never used it before.

I haven't had a VPN running for a while, no longer had a need and Hamachi is quicker although it unfortunately relies on you having a internet connection and the arbitration servers being accessible.

But, while I was typing this reply I decided to try and setup OpenVPN again from my XP Pro-SP3 PC to a Win7 x86 PC I just built for someone and it still took under an hour to get the two machines connected in a server->multiple client configuration, (as opposed to ad-hoc type).

10 minutes to download and install on both machines, (I had to make a cuppa too).
15 minutes reading the HOW-TO and generating the server/client certificates/keys, editing the config to use them and copying them to the respective places.
30-40 minutes trying to work out why they couldn't ping each other.....damn firewall, Outpost can be too protective sometimes  :-[

For Vista or Win7 use the latest 2.1rc, setting privileges as mentioned here.
For XP I just used the current 2.09 release build.

The XP machine was to be the server, the Win7 a client - follow the instructions here for generating certificates/keys for the server and each client using the example names for the server/clients they give, (it makes it simple to start with - you can always get more creative later when you've initially got it working).
Stop reading when you reach the section "Creating configuration files for server and clients" which is the one following.

On the server:
Copy the sample config for server, (server.ovpn), from the "sample-config" directory to "config" directory, copy the certs/keys for the server into the "config" directory.

On the client, (I'll call it 'client1' in this case to match the HOW-TO):
Copy the sample config for client, (client.ovpn), from the "sample-config" directory to "config" directory, copy the certs/keys for the client into the "config" directory.
Edit the config file and change the line:
remote my-server-1 1194       to      remote <server IP> 1194
Change the following lines to point to the generated cert/key, (client1, client2, etc, etc if you followed the HOW-TO):
cert client.crt                         to       cert client1.crt
key client.key                         to       cert client1.key

If OpenVPN GUI isn't running, run it.  Right-click on the tray icon and select Connect.

Assuming you've properly configured your firewall to allow port 1194, (default OpenVPN assigned port), free access, you should be able to ping each machine from the other.

That's it - VPN is up and running.

After having sorted out the firewall problem on the server I had OpenVPN installed and working on my XP Pro+SP3 Acer Aspire One within 5 minutes using 'client2' cert/keys I had generated.

The config files are well commented if you want to do things like: limit clients, change default port, VPN subnet, etc, and the online documentation is extremely thorough.

EDIT: PortableApps even have a portable version of OpenVPN here.  Although you'll need Admin privileges to use it.

kartal:
4wd, very tight stuff man, thank you I will definetely go through this. You had done the hard work!!!

4wd:
4wd, very tight stuff man, thank you I will definetely go through this. You had done the hard work!!!-kartal (June 16, 2009, 11:21 PM)
--- End quote ---

No problem, make sure you're forwarding the port, (default 1194), you use through any routers and firewalls otherwise you'll be going :wallbash: like I was.

Attached is the server/client configs/certs/keys in the directory structure they should appear in, in case I wasn't clear - I think the certs/keys are machine specific and are in a database on the key signing PC, (my XP machine in this case), so they might or might not work as is.

You can compare the configs to the original samples using WinMerge, Beyond Compare, etc to see what changes were necessary.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version