IPCop & VPN

IPCop
Homepage: http://www.ipcop.org/

OpenVPN for IPCop (ZERINA)
Homepage: http://www.zerina.de/

OpenVPN GUI for Windows
Homepage: http://openvpn.se/

Manualy restart connection to ISP every 24h
Login over SSH to your IPCop
ssh -P 222 YOUR_IP_COP_IP

Open crontab to edit
fcrontab -e

Add this lines
############### CUT ################
# restart red interface every 24h
0 2 * * * /etc/rc.d/rc.red stop
1 2 * * * /etc/rc.d/rc.red start
############### CUT ################

Restart cron
kill `ps -e | grep fcron | cut -f1 -d"?"`; fcron

Install OpenVPN
Enable SSH Acces
login to IPCop WebGui
System > SSH Access > Check SSH Access
Save

login with SCP to IPCop
copy ZERINA-0.9.7a13-Installer.tar.gz to /tmp

login with ssh to IPCop
cd /tmp
tar -xzf ZERINA-0.9.7a13-Installer.tar.gz
./install
rm /tmp/*

# new version
<?php
$URL="http://dl.panticz.de/endian/reconnect";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>