Author archives

Raspberry Pi as OpenVPN server the easy way

This is a follow up article to network-wide adblock with a Raspberry Pi the lazy. If you followed that article then the Raspberry (or equivalent) is already deeply integrated into your network, why not add it some other network related roles like for example VPN? Luckily there is a fully fledged OpenVPN based package in DietPi …

Network install Windows from CentOS 6.X

DRAFT how to use syslinux to boot into windows installer DRAFT Setup description and other stuff: NOTE: 192.168.1.104 is the tftp/samba server in my case RouterOS dhcp config comes here CentOS disable fw update yum install xinetd and syslinux configure syslinux install samba configure samba extract iso and share it via samba Windows Download windows AIK …

Mikrotik monitoring using zabbix

Although Mikrotik has it’s own network monitor, namely the dude, they can be checked upon just as easily with Zabbix using SNMP. Zabbix is in my oppinion a pretty good solution (since it has native agents for both Windows and Linux as well) let’s use that instad. Client setup Log in to your router using winbox: …

Mikrotik automated maintenance

Let’s look a bit at one of Mikrotik routers most powerful capability: scripting. Using scripts we can automate updating and backups, so we can sleep a bit easier. We also can send the backups directly via email, so I will assume that you have a (spare) email address from where to send notifications. Email setup Log in to your router with …

Protecting Apache against DDoS using Fail2Ban

To protect your LAMP server against brute-force attacks you can use Fail2Ban. It’s a daemon that checks log files and does something if it finds a match according to it’s filters. In it’s simplest configuration it just bans (by adding an iptables rule) an IP address for a period of time. Let’s check it out how we can set it …