You have chosen to sponsor your bid up to a maximum amount of .
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 ]
Privated IP can be hardcoded for 1st server you should assign 188.8.131.52-200
for 2nd server 184.108.40.206-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.
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 220.127.116.11/16 -j SNAT --to-source SERVER-PUBLIC-IP-1 ]
7> Set MTU = 1350 for all servers
8> Set DNS1= 18.104.22.168
9> a separate log file containing client IP , user id ,CALL ID (for pptp only ) time stamp and VPN server ip.
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.