LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   CentOS x64 VPN server (https://www.linuxquestions.org/questions/linux-networking-3/centos-x64-vpn-server-852321/)

trscookie 12-25-2010 04:44 AM

CentOS x64 VPN server
 
Hello all,

Im sure that you have come across this a million times however I am not able to find much help with this, I am trying to create a VPN server that uses an authentication script for users and passwords, does anyone know of any good guides or pointers that I can use to create this?

Many thanks,
trscookie.

wpeckham 12-25-2010 10:17 AM

VPN
 
Perhaps you would care to expound on why the included and supported means of authentication are inadequate in your particular case. I am at a loss to imagine a case where an additional script would be required.

Also, you give no clue as to the VPN software or protocols you desire. Are wel talking IPSEC, PPTP, or perhaps one of the others? Is this point to point, road warrior, or another VPN support?

trscookie 12-25-2010 11:19 AM

Hi,

I need an authentication script because I need it to link in with my mysql database but I was hoping to tie it in with a MySQL script. I havent decided on which VPN server to use as I wasnt sure which one would allow for a script, I had looked at pptp however that seems to only allow for storage in chap-secrets and I couldnt work out how to allow the script in openVPN and then couldnt work out the difference between openVPN and openVPNAS.

Thanks again,
trscookie

wpeckham 12-25-2010 12:44 PM

I wish I could advise, but I have not looked for a VPN engine with the characteristics you seek. I seem to remember finding a couple that would authenticate directly against a database (MySQL or Postgresql). I would think that one that would authenticate directly would be a better option.

Someone else may have a suggestion that we both would appreciate. I hope.

trscookie 12-25-2010 01:39 PM

Ah, that could work, I dont suppose you can remember where can you?

divyashree 12-26-2010 12:17 AM

Quote:

Originally Posted by trscookie (Post 4202683)
Hello all,

Im sure that you have come across this a million times however I am not able to find much help with this, I am trying to create a VPN server that uses an authentication script for users and passwords, does anyone know of any good guides or pointers that I can use to create this?

Many thanks,
trscookie.

You can use OpenVPN, have a look at this step by step guide:

PHP Code:

http://openvpn.net/index.php/open-source/documentation/howto.html 


wpeckham 12-26-2010 08:39 AM

VPN authentication
 
After a little google:
OpenVPN (the Open Source VPN solution) comes with a perl script that can be used for authentication in the newer versions. I was not aware of that, but it might serve your need.

You might check the VPN pages on wikipedia, I bet there are others, but openvpn is well known and documented.

divyashree 12-27-2010 12:14 AM

Yes OPENVPN can be used in any circumstances. May be you have a static /dynamic public IP or PVT IP running behind NAT .


All times are GMT -5. The time now is 02:43 PM.