Reply To: HTTPS through HAVP

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

#47630

ais
Member

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.

So:

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

2. Compile havp:

cd /Database
wget http://www.server-side.de/download/havp-0.89.tar.gz
tar zxvf havp-0.89.tar.gz
cd havp-0.89
./configure –enable-ssl-tunnel
make

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:

TRANSPARENT false
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! 🙂