Lately I have been playing a lot with Docker and one of the things I want to try out is the multi-host network and perhaps even swarm support. To be able to do that however you need to expose the Docker daemon on your host machine. That’s all fine and dandy when you are working on a private network but what happens if you want to do this with hosts on multiple locations separated by public links? Even though you can secure the Docker daemon with TLS I don’t feel comfortable having service ports out in the open like that so I want to set up my own private network.
While I have set up OpenVPN links for these kind of things in the past I would now like something more flexible (easy adding of nodes, mesh topology, STP, …) so I started looking at Open vSwitch but I could not find a complete guide. Especially the part on using certificates instead of the pre-shared keys is lacking so I pieced this procedure together from different sources.
Continue reading 'Setting up Open vSwitch with ipsec_gre'»
I have a client that started using Google Apps but had a huge history of emails in the Mail app on OS X which they wanted to have imported into GMail. While the Outlook mailboxes worked without a problem using the program provided by Google, for Mac this doesn’t seem to be maintained any more. The information on the web on this subject is also rather scarce so this is how I did it using some scripting, Dovecot and imapsync.
Continue reading 'Exporting OS X Mail to a GMail account'»
I was having issues with the volume keys on my Linux desktop when using applications like Spotify and Kodi. I found out that this is because the channel that is created by PulseAudio by default is linked to the master channel resulting in all kind of weirdness when adjusting the volume. This can be fixed by disabling the flat-volumes option in /etc/pulse/daemon.conf
Foremost is an excellent tool for this!
I recently followed this excellent guide to implement GreyListing on my server. The hardest part was to get sqlite3 support activated in Exim. Since the software is managed through DirectAdmin you have to enable this in the custombuild Makefile.
Have a look here if you have problems with slow network boot because the firmware is not available.
Whenever I used mc or another ncurses-based program on my Gentoo the output would show strange characters instead of the proper line drawing. Also, the numbers on the numpad didn’t work inside for example nano. The fix is in your default putty settings:
- Window → Translation → Received data assumed to be in which character set: UTF-8
- Window → Translation → Handling of line drawing characters: Use Unicode line drawing code points
- Connection → Data → Terminal-type string: putty
I got this solution from here.
I had trouble with a logon script not working in a Windows 7 GPO object. The solution is described in this thread over at Microsoft forums. I list it here again for easy reference
EnableLinkedConnections = 1 (DWord)
Plesk has AWStats built-in but since I use a reverse proxy on my server to redirect certain sites to separate virtual containers, the log files always showed the internal IP of my reverse proxy. mod_rpaf solved this issue. It looks for the X-Forwarded-For header added by the proxy and puts it back as the original IP.
Another solution would be to change the LogFormat of the plesklog lines to incorporate the header but experience in the past has learned me to leave Plesk alone for as much as possible.
Reminder to self: gpart is an excellent utility! Now try to remember its name this time.