I did it, 1 Terabyte traffic in one month
Data from 2007/08/01 00:00:00 CEST to 2007/08/31 23:58:59 CEST
forwarded incoming GREEN (eth0) : 924G
forwarded incoming RED (eth1) : 88G
well …. almost, it’s only 1012G. Well, better luck next month
Note: This has been done on a Debian Sarge installation but it should work on Etch also, I will report if it does once I have done it, sometime this week. I found this post on howtoforge and it helped me alot.
First you need Java JRE, lucky me I had a deb package on my server from some other tests so I didn’t need to create a new JRE deb package. Follow this howto to create a debian package so you can install JRE the debian way. Once you installed the JRE you can continue with openfire.
This works for php4 and php5, apache1.3 and 2!
first get php5-dev (or php4-dev, depending on what you use) apt-get install php5-dev
get eaccelerator from here and unpack it.
cd eaccelerator-0.9.5
phpize
./configure
make
make install
create the eaccelerator cache directories
mkdir /tmp/eaccelerator
chmod 0777 /tmp/eaccelerator
and add this to your php.ini (in my case: /etc/php5/apache2/php.ini )
extension=eaccelerator.so
eaccelerator.shm_size=64
eaccelerator.cache_dir=/tmp/eaccelerator
eaccelerator.enable=1
eaccelerator.optimizer=1
eaccelerator.check_mtime=1
eaccelerator.debug=0
eaccelerator.filter=
eaccelerator.shm_max=0
eaccelerator.shm_ttl=0
eaccelerator.shm\_prune\_period=0
eaccelerator.shm_only=0
eaccelerator.compress=1
eaccelerator.compress_level=9
eaccelerator.allowed\_admin\_path=/path/to/control.php
adjust the memory to whatever you like. Copy the control.php to whatever path you like (must be some htdocs accessible path) and set the path in eaccelerator.allowed_admin_path= … edit the file and user/password. now restart apache and you are done! go to the link where control.php is and check if you can login and if it works.
I bought a VIA mini ITX mainboard to make a new firewall, the old one with a Pentium1 166mhz was going a bit slow and since I also wanted to use VPN I needed something better. IPCop was installed quite fast, and a quick search brought me to this great howto. After setting up VPN I needed a client for Mac OS and I found “Tunnelblick“, quick installation and everything worked great. Now together with my mobile internet connection I can log in from everywhere and also be secured. Ok but what is it with the topic, out of the box? Well, usually this has some other meaning, but I really mean my IPCop works “out of the box”, I couldn’t find a case where I could fit it in so I just took a cardboard box