Category Archives: Network

How to disable dnsmasq on ubuntu based distribution

dnsmasq is a lightweight DNS, TFTP, PXE, router advertisement and DHCP server. It is intended to provide coupled DNS and DHCP service to a LAN. From time to time dnsmasq decided to resolve some hosts over a VPN tunnel to their external IP address instead the internal one. This was quite annoying… After digging a … Continue reading How to disable dnsmasq on ubuntu based distribution

How to deal with “RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)” problem

If you see [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) in you apache error.log file means you have created a cert that is intended to be used to sign other certs, but you’re using that cert as your SSL cert. So, it depends how you create the SSL cert. … Continue reading How to deal with “RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)” problem

Set port knocking with knockd and iptables

This document describes a stealth method to externally open ports that, by default, are kept closed by the firewall. Server side 1. Install knockd 2. Configure knockd Notes: sequence – the sequence required to open desired port seq_timeout – time to wait for a sequence to complete Start_Command – command to be executed when a … Continue reading Set port knocking with knockd and iptables

Use Your Raspberry Pi as Access Point

This post describes all required steps to make your Raspberry Pi to act as a Access Point. Prerequisites: A Raspberry Pi, model B. A boot SD card for the Raspberry Pi. A USB WiFi device that supports “Access Point” mode. An Ethernet cable to connect to the local network. IMPORTANT NOTES: Please make sure you … Continue reading Use Your Raspberry Pi as Access Point

Setting up a L2TP over IPSec VPN on Debian on 10 steps

This document describes the required steps to make a fully functional L2TP/IPSEC PSK VPN PSK (with pre-shared keys) on debian squeeze. L2TP/IPSec is an advanced protocol formally standardized in IETF RFC 3193 and now the recommended replacement for PPTP where secure data encryption is required. The L2TP payload is encrypted using the standardized IPSec protocol. … Continue reading Setting up a L2TP over IPSec VPN on Debian on 10 steps

How to setup a NFS server on CentOS 6

This document describes how to configure your CentOS 6.x linux to act as a NFS Server to share any directories on your Network Install required software Configure NFS server # line 5: uncomment and change to your domain name Domain = test.org Configure NFS shares /home 10.0.0.0/24(rw,sync,no_root_squash,no_all_squash) Note: /home -> shared directory 10.0.0.0/24 -> range … Continue reading How to setup a NFS server on CentOS 6