Torrentflux on a FreeBSD box.

Sometimes while I’m at work I remember I need to download certain things at home (especially torrents) and I don’t wanna wait until I get home because I usually forget (and remember again the next day at work .. and so on) :-) .

So, after playing a little bit with FreeNAS (and see it has a web based torrent client) I’ve decided to install a web based torrent client (torrentflux) on my FreeBSD router, at home. Here’s how I did it

Step 1. – install a web server (I went with lighttpd because of the low memory usage but you can install any web server like: apache, nginx, etc).

  • cd /usr/ports/www/lighttpd
  • make all install clean

Read the rest of this entry »

Squid 3.0 + HAVP not working

Just switched from squid 2.7 to 3.0. For some reason squid and HAVP refuse to collaborate. Without any reason HAVP drops everything. I will get back asap with the solution.

FreeBSD dyndns howto

A few days ago I’ve moved to a bigger apartment and I needed to change the ISP. Got a new contract, new ISP, 50Mbps speed for less than 10 Eur/month but only one problem .. no fixed IP address and from time to time I need to ssh on my home box.

So, the only solution was to create an account on dyndns.com and configure a dyndns client on my home gateway. After configuring the subdomain on dyndns.com I’ve chosen ipcheck as a dyndns client:

cd /usr/ports/dns/ipcheck

make install clean

Read the rest of this entry »

Testing FreeBSD 8-CURRENT

After reading What’s cooking for FreeBSD 8? I’ve decided to install it (better say upgrade a 7-STABLE version to 8-CURRENT) in order to make a few tests on a test box. Now I have FreeBSD 8 on a PIII machine to play with :)

FreeBSD phantom.localdomain 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Jun 20 12:45:09 EEST 2009     root@phantom.localdomain:/usr/obj/usr/src/sys/PROTOS  i386

Now I need to upgrade the old jails (in which a web server, a name server, an email server are running) in order to play with Jails V2′s new exciting features.

I plan on installing it on a Quad Core box later next week.

I’ll get back soon (I hope) with a review.

WordPress 2.8

Finally I found some time to upgrade WordPress to 2.8. Everything went smooth (as always). I’ve also upgraded all the out-of-date plugins and removed some of them which weren’t that useful.

Traffic graphs with mrtg in FreeBSD

A few days ago I was asked by a fiend to provide him a solution which would provide traffic graphs for two Ethernet interfaces on a router. Here’s how I did it:

cd /usr/ports/net-mgmt/mrtg
make install clean

After installing mrtg I have edited /usr/local/etc/mrtg to look like this
Read the rest of this entry »

Transparent proxy : squid + havp + clamav

A few months ago I posted a tutorial explaining how to make a transparent proxy using squid and pf. In the mean time (because of the need of minimising virus infections) I’ve made a few changes and added havp + clamav in the current configuration. The whole process was quite simple :

cd /usr/ports/www/havp
make install clean

Read the rest of this entry »

←Older