Debian server

I use my home Debian server as router, firewall, NAS and HTPC. I have installed system on SSD drive and data are on two LUKS encrypted WDC 2TB drives in RAID1. System in installed as Debian basic server, the rest of the packages was installed and configured the way as it follows. System drive: 32 … Read more

M/Monit server on Ubuntu

M/Monit monitoring Server apt-get install libapache2-mod-proxy-html libxml2-dev cd /usr/local/ wget https://mmonit.com/dist/mmonit-3.3-linux-x64.tar.gz tar -zxvf mmonit-3.3-linux-x64.tar.gz /etc/apache2/sites-available/monit <VirtualHost *:80>     ServerAdmin jan@faix.cz     ServerName monit.faix.cz     ServerAlias monitoring.faix.cz     <Location />          Order deny,allow          Allow from all     </Location>     ProxyPass / http://localhost:8080/     ProxyPassReverse / http://localhost:8080/ </VirtualHost> a2enmod proxy proxy_http a2ensite monit service apache2 restart /etc/hosts 127.0.0.1   localhost monit.faix.cz /usr/local/mmonit/conf/server.xml     <Connector address="*" … Read more

Transmission Web Interface on Debian

apt-get install transmission-daemon Your server is running nonstop, so why to download torrents from your desktop, when you can conveniently start the download from your web browser using Transmission-daemon running on your server. service transmission-daemon stop usermod -a -G users debian-transmission usermod -d /var/lib/transmission-daemon debian-transmission chown -R debian-transmission:debian-transmission /etc/transmission-daemon /var/lib/transmission-daemon/info rm /var/lib/transmission-daemon/info/settings.json There has to … Read more

Firewall and router on Debian

Network interfaces /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback # WAN network interface auto eth0 iface eth0 inet static address 172.16.2.19 netmask 255.255.255.240 network 172.16.2.16 broadcast 172.16.2.31 gateway 172.16.2.17 # LAN network interface auto eth1 iface eth1 inet static address 192.168.122.1 netmask 255.255.255.224 network 192.168.122.0 broadcast 192.168.122.31 UFW apt-get install … Read more

OpenWRT TP-Link TL-WR1043ND

Back in the past I have installed OpenWRT BackFire 10.03 on my TP-Link TL-WR1043ND v1. It was quite pita that time, because I was using WAN port which get disabled after flashing OpenWRT firmware. It was necessary to revert back to crafted TP-Link firmware, which will not disable WAN port after flashing DD-WRT or OpenWRT … Read more