Blog Archives

How to enable and use Wake on LAN this article I will describe how to enable Wake-on-LAN (WOL) and how to use it to start-up a system remotely. In order to use Wake-on-LAN your systems hardware and network driver needs to actually support this technology. You will also need to know the MAC address of the systems ethernet card.
Read the rest of this entry

How to use an SSH connection as a SOCKS proxy this article I will describe how to use an SSH connection as a SOCKS proxy. This basically means that you can route the network traffic of any application or even your entire systems traffic through an SSH connection.
Read the rest of this entry

How to set up a stateful firewall with iptables

My old post to set up a small rules set for iptables is deprecated so I decided to update this post and improve some rules.
This time I tested this iptables setup on my Raspberry Pi. I connected to my Pi via SSH and the first time I tested the rules order I locked myself out and I had to connect the monitor and keyboard to fix this. The rule order in this post worked for me to set everything up via SSH.

I also tried this setup on a virtual machine and made a screencast of it. You can find the video at the end of this post.

1. Kernel modules
2. Important Rules
3. Chain Policies
4. Port Rules
5. Logging
6. Saving Rules
7. Appendix (Script and video)
Read the rest of this entry

How to receive files via Bluetooth on Gnome3

In this post I will describe how to receive files via Bbuetooth on Gnome3. Strangely it is possible to send files from your PC to any other device, but it is not possible to receive files from other devices via bluetooth. Maybe that’s just the case for people with a minimal installation of Gnome3 like my self, however the solution for this problem is very simple.

Read the rest of this entry

How to install and configure NetworkManager and network-manager-applet on Arch Linux with Gnome3

In this article I will describe how to make networkmanager and the network-manager-applet (aka nm-applet) work on Arch Linux with GNOME3. Of course there are other networking-tools available, however I prefer the use of networkmanager and network-manager-applet, because they integrate them selves very well into GNOME3.

Please notice that some parts of this how to were taken from Arch-Wiki-Networkmanager and Arch-Wiki-Beginners-Guide and I highly recommend reading those two articles.

0. Preparations
1. Installation
2. Configuration
3. Wireless troubleshooting
Read the rest of this entry

An introduction to netcat

In this post I want to give you a little introduction to netcat. Netcat is a command-line program to create arbitrary TCP connections, sending UDP packets and to listen on arbitrary ports. It’s very flexible and you can do lots of things with it.
Read the rest of this entry

How to set up a honeypot with artillery

If you want to make your system more secrue you can use a honeypot. A honeypot is a program to detect, mislead and trap an attacker. In this article I will show you an example of a honeypot called artillery. Artillery is a very simple honeypot, easy to use and (in my opinion) very effective. It opens a few ports and if someone tries to connect to one of these ports, he/she will be banned immediately. But artillery can also monitor folders for changes or monitor the ssh-server for brute force attacks and ban the attackers.
Read the rest of this entry