Recently I came across the requirement to monitor traffic for a few devices behind Ubiquiti EdgeRouters, so I put together the following method which is described here for future reference. I am using iptables to collect byte counts and poll this data through SSH from a monitoring server. The collected data gets saved in a round robin database and output as a graph using Tobias Oetiker’s geat RRDtool.
Traffic Accounting using iptables and rrdtool
Continue reading

I’ve spent most of my day today trying a plethora of different ways on how to configure Proxmox on a Hetzner server with multiple IP addresses. Most of the tutorials I found online gave a good deal of information but where lacking in one or two crucial details. Shortly before I was ready to throw my computer out of the window, I had success and managed to get everything set up the way I wanted it.

This aims to be the definitive guide on how to accomplish the aforementioned task. When ready the setup includes the following features:

  • Host bound to main IPv4 address, that comes with the server (and one of the 18,446,744,073,709,551,616 included IPv6 addresses)
  • Every IPv4 address of a separately delegated subnet usable for virtual machines
  • Internal private network for inter-virtual machine communication and non publicly accessible VMs

Continue reading