PPTP ,SSTP , and L2TP (IPSEC) [ Server ] Automated Setup/Startup Script Required for CENTOS 6.3 ( 64 BIT ) or above.

CLOSED
Bids
3
Avg Bid (USD)
$406
Project Budget (USD)
$30 - $250

Project Description:
==========================
Budget : 150 $ . Time 3 days.
===========================

PPTP ,SSTP and L2TP(IPSEC) [ Server ] Automated Setup/Startup Script Required for CENTOS 6.3 ( 64 BIT ) or above.

I need Automated shell script ( sh ) when run it will first (onetime)install PPTP SSTP and L2TP(IPSEC) in Server and do necesary configuration ( like creating
.conf files , IPTABLE rule etc etc..)
and another script to run all those servers.

I have multiple IPS for my server. say 6 IPs.

SO I just only provide a file called IPs.txt containing multiple IPS (new line separated)

[ Format of IPs.txt ]
IP1=x.x.x.x
IP2=y.y.y.y
IP3=z.z.z.z
...

Privated IP can be hardcoded for 1st server you should assign 172.41.0.0-200
for 2nd server 172.42.0.0-200
....


The setup script should read this file and depending upon no of IPs present It should be able to create/start multiple instances of pptp,l2tp,SSTP .

For example following will start multiple instances PPTP server in a single box binding to separate public IP.
/usr/sbin/pptpd --conf=/etc/pptpd.conf
/usr/sbin/pptpd --conf=/etc/pptpd2.conf


For example: If it contains 3 IPs ..the setup script should be made such a way so that 3 different PPTP and L2TP SSTP instances can be run
binding to 3 differnt public IPs.( like creating 3 .conf files etc etc..)



1> So i need 1 setup script for PPTP and L2TP(IPSEC) [preshared key] , SSTP
2> a script to start all servers.
3> Configure radius plugin to authinticate against MYSQL DB. You need to arrange a mysql table by your own (just containg userid/password column)
4> AUTH-UP script . say there are 3 separate servers instances running in same box. Once a user connects to first server , it should find
other 2 servers and if the same user id present it should KILL that in rest 2 servers.
5> for clients behinds same NAT, Server will see same source IP for multiple clients. At that case User should be killed using "CALL ID".
( for PPTP ) . It should write in a LOG file which user is succesfully killed and his public IP and CALL ID and timestamp.
6> add iptable rule so that Interent can be connected from VPN.
[ iptables -t nat -A POSTROUTING -o eth0 -s 172.42.0.0/16 -j SNAT --to-source SERVER-PUBLIC-IP-1 ]
7> Set MTU = 1350 for all servers
8> Set DNS1= 8.8.8.8
9> a separate log file containing client IP , user id ,CALL ID (for pptp only ) time stamp and VPN server ip.

Note :
=======
I will only provide IPS.txt only .Then when I run setup.sh it will install SSTP/pptp/l2tp-ipsec server and necessary componsnts like radius etc in linux box and do all

necessary configuration like conf file generation including radius and IPtable modification , auth-up script etc etc... It will b 1 time job.

And after that when I will run START.sh it will run all SSTP.pptp.l2tp servers with properly working radius and killscript incase same user id try to use multiple

server at same time for each protocol SSTP.pptp.l2tp

and Clients should be ready to connect.



I have this script for OPENVPN and partially for PPTP . I want you to give a complete script for SSTP PPTP and L2TP .


You should have a Centos 6.x 64 bit machine to test it properly. after you are done you should test it using SSTP PPTP and L2TP client.


Thanks

Skills required:
System Admin
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 842
in 10 days
$ 144
in 3 days
$ 233
in 3 days