Reply To: HTTPS through HAVP

Forums Network Management ZeroShell HTTPS through HAVP Reply To: HTTPS through HAVP


As nobody has answered me, I answer itself.

I could compile havp-0.89.tar.gz in ZeroShell, using a method,
described yuda for installation iptraf. I used ./configure with
an option – enable-ssl-tunnel and I have got support HTTPS in havp!!
Also using tips fulvio how to use havp as “normal” proxy I get as a result
usual non-transparent non-cache proxy with support https.


1. Install the package gcc-4.3.2-zs-i386.tar.bz2 from download section.

2. Compile havp:

cd /Database
tar zxvf havp-0.89.tar.gz
cd havp-0.89
./configure –enable-ssl-tunnel

3. Create the directory /usr with write access:

cd /
mkdir /Database/usr
cp -rp /usr/* /Database/usr
rm -f usr
ln -s /Database/usr usr

4. Copy new havp binary in sbin:

cp /Database/havp-0.89/havp/havp /usr/local/sbin/
chmod 755 /usr/local/sbin/havp

5. If you want, change havp configuration /root/kerbynet.cgi/template/havp.config,
in my case is:

PORT 3128

6. In the section [Setup][Startup] add the following lines to the [Pre Boot] script:

cd /
rm -f usr
ln -s /Database/usr usr
cp /Database/havp.config /root/kerbynet.cgi/template

7. Reboot and test.

It’s all! 🙂