Press "Enter" to skip to content

Posts published in “Linux”

Simple OpenLDAP + phpLDAPadmin setup

Shahriar 0

Hello everyone, In this blog post I’m going to show you how to setup a simple OpenLDAP server  with phpldapadmin on apache. I’m posting this because I didn’t find any up to date content on how to do this. Installing OpenLDAP and exploring it with phpLDAPadmin helps you learn LDAP structure and use cases. Also you can redirect authentication of other devices on your network to this server. These steps are run in a fresh debian wheezy (7) installation: [asciinema…

Cisco IOS and StrongSWAN IPSEC VPN

Shahriar 0

In this blog post we will cover IPSEC tunnel between Linux StrongSWAN and Cisco IOS. The strongSWAN config file can copied exactly as is to another server with the IP of Cisco Router and the tunnel will be connected between two linux routers. That is you do not need to change right and left in config files. It will be automatically detected from interface IP address (if available of course) Cisco IOS configuration is very similar to previous post. Here are…

Bind9 chroot on debian 8

Shahriar 0

From Wikipedia: BIND, or named, is the most widely used Domain Name System (DNS) software on the Internet. On Unix-like operating systems it is the de facto standard. As you know chrooting a process is very beneficial for security as any compromise cannot have effect on the whole system. But be aware escaping from chroot is not impossible. and therefore should not be used as your only security measure on a production DNS resolver. Chrooting Bind is simple, however there…

Useful Configs for Squid3 Cache

Shahriar 0

Hi everyone! After searching the web so many times and testing different configurations of Squid, I have found these minimal working configs which you can use to achieve the features you want from Squid3 Cache (which is really robust and powerful btw) Read more for config…