Download IPSec script
wget d.wsq.be/ipsec
sh ipsec

Details of IPsec script
wget http://d.wsq.be/ipsec-tools-0.8.0-1.el5.pp.i386.rpm http://d.wsq.be/ipsec-tools-libs-0.8.0-1.el5.pp.i386.rpm
sudo yum localinstall ipsec-tools-libs-0.8.0-1.el5.pp.i386.rpm ipsec-tools-0.8.0-1.el5.pp.i386.rpm -y
sudo chmod 755 /etc/racoon
wget http://d.wsq.be/motd http://d.wsq.be/psk.txt http://d.wsq.be/racoon.conf
sudo cp -f motd psk.txt racoon.conf /etc/racoon/
sudo useradd hendryvpn
sudo passwd hendryvpn
sudo service racoon start
sudo chkconfig racoon on

Advertisements