Why? I have a small webserver running inside my network on port 55555. I only want my friends to be able to access it. I know that they live in Denmark, Norway and Sweden. I want to make sure that China, Russia and other parts of the world has no access, in order to minimize […]
Month: March 2017
IPtables stats from Edgerouter via SNMP-part2
OpenNMS In part 1 we made the Edgerouter ready to publish some iptable counters via SNMP. In this part we are going to visualize it in the OpenNMS GUI 🙂 Setting up data collection OpenNMS detects the edgerouter as a mib2 device. Therefore we need to add the definition of our iptables to “/opt/opennms/etc/datacollection/mib2.xml”. First […]
IPtables stats from Edgerouter via SNMP-part1
A little about Edgerouters IPtables. I wanted to follow the traffic through my firewall rules on my Edgerouter. Everything is based on IPtables and from the CLI I can get the statistic of how much traffic hits each rule. The following command shows all the firewall rules that are generated from the Edgerouters configuration: root@edge:/# […]
Playing with EXIF in Powershell
A friend of mine had a lot of pictures he wanted to do some statistics on. I therefore made a few powershell pieces to get him started. Everything is build on top of the output of the great free tool EXIFTool Here are some example commands: # Call exiftool to collect all exifdata from a directory, […]
Dockerizing Owncloud
For a long time I wanted a good solution for sharing files with friends and family. I found Owncloud to suite my needs. Luckily there was already a docker image for this that would make my life easier. I just wanted to do some customization like: I wanted to add letsencrypt to the web-server, so […]
Edgerouter scheduled backups
In this section I will describe how to setup a scheduled daily backup of the edgerouter-configuration via SFTP to another linux-box. On the Edgerouter First we need to generate a public keypair on our Edgerouter. This is our ticket to the backup server. This is way more secure that using a password for authentication. […]