Page 1 of 7

Req: VPN daemon

PostPosted: Mon Jan 16, 2012 12:45 pm
by matigev
I got ANOTHER request ;)
A VPN server for a future release.
PPTD or OpenVPN maybe?
I don't have much experience on VPN but I think it will be a great addition to your firmware.
You will be able to reach your NAS (and other devices in your network) from everywhere in a safe way.
If I'm right you will also be able to use public Wifi hotspots without being sniffed by someone (correct me if i'm wrong).
Very usefull for smartphones!

Re: Req: VPN daemon

PostPosted: Thu Jan 19, 2012 9:21 pm
by fvdw
we have already ftp and htp with ssl encryption and ssh server. In future release a wep explorer will be added allowing you to access files and more using a normal browser (encrypted of course)
A vpn connection would enable you of course to access the LAN securely form the internet but then you will need as well a compatible vpn client that can communicate with the server installed. What would be the best one to pick ? Can someone advise in this

Re: Req: VPN daemon

PostPosted: Mon Jan 23, 2012 8:53 am
by firwareslut
I think PPTP server on the NAS would be the simplest to connect to since all iphone/android devices and windows/linux can connect to this VPN server without additional client software installed. It is offers a good level of safety (not as good as openvpn since it is certificate based) and the only downside I can think of is that the sending of the login password is probably not encrypted. But I think for most people's needs it will be satisfactory.

+1 vote for PPTP server on NAS :D

Re: Req: VPN daemon

PostPosted: Mon Jan 23, 2012 9:52 pm
by fvdw
Hi firwareslut

well we can use some assistance, I compiled pptpd server for you (poptop version pptpd-1.3.4)

In attached zip file you will find the binaries and lib to install, also some sample and html files with documentation

if you get it working let us know :D


--edit file removed, nit needs a patch to work correctly

Re: Req: VPN daemon

PostPosted: Tue Jan 24, 2012 9:33 am
by firwareslut
Great....i've only set up an OPenVPN server before but I'll be happy to try and make it work :D

Re: Req: VPN daemon

PostPosted: Tue Jan 24, 2012 6:44 pm
by fvdw
mmm...thought you only will need a vpn client which standard available in windows OS to connect to this pptpd server 8-)

Re: Req: VPN daemon

PostPosted: Wed Jan 25, 2012 8:02 am
by firwareslut
Yeah the client part is a piece of cake. I haven't configured a ptpd server before, only openvpn server, but it looks easy enough. I will test it out.

At the moment I am fighting with my new HTPC system which is really pissing me off. Bought a new mother with Intel IGP hoping to get rid of my ati card but now the problems are worse!

Re: Req: VPN daemon

PostPosted: Thu Jan 26, 2012 7:23 am
by firwareslut
Think we need Iptables installed to forward the VPN packets.

I have set up the PPTP config, which was easy enough but haven't tested it yet.

Will iptables work with the current kernel build?

Re: Req: VPN daemon

PostPosted: Thu Jan 26, 2012 9:18 pm
by fvdw
I don't know if it is required but I will try to compile it

Re: Req: VPN daemon

PostPosted: Fri Jan 27, 2012 6:59 am
by firwareslut
hmm ok...but if we use it we can also browse the internet from our pptp connection over a mobile device.