Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

95 total results found

#00 Security

Securing the IP Networks

Securing the IP Networks

#01 Design

Building the IP Networks

Building the IP Networks

#02 Networks

Operating the IP Networks

Operating the IP Networks

#03 Systems

Documentation on Operating Systems

Systems
Documentation on Operating Systems

#04 Scripts

Scripts Repository

Scripts
Scripts Repository

#05 Software

Documentation on Various Software

Software
Documentation on Various Software

IPTABLES

Stateful firewall for netfilter framework

Securing the IP Networks
IPTABLES

Base Config

IPTABLES

Creating a configuration file mkdir /etc/iptables touch /etc/iptables/rc.firewall chmod +x /etc/iptables/rc.firewall nano -w /etc/iptables/rc.firewall #!/bin/bash # Setting variables ipt="/usr/sbin/iptables" iface="ifname" # SYN Rate (pps) syn_...

Debian

Documentation on Debian Linux

Systems
Debian

Base Config

Debian

Updating the system apt update apt upgrade Creating a user adduser username usermod -aG sudo username Setting up SSH mkdir /home/username/.ssh/ touch /home/username/.ssh/authorized_keys nano -w /home/username/.ssh/authorized_keys chown -R username:...

Runlevel

Debian

Linux Runlevel

local

Debian Runlevel

Creating a config file touch /etc/rc.local chmod +x /etc/rc.local nano -w /etc/rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other #...

NTP

Debian

Network Time Protocol

Client

Debian NTP

Setting up a timezone timedatectl list-timezones timedatectl set-timezone Pacific/Auckland Checking the packages (getting rid of systemd-timesyncd, adding ntp/ntpsec) apt list ntp systemd-timesyncd systemctl status ntp Configuring NTP nano -w /etc/ntp...

Systemd

Debian

System and Service Manager

Logging

Debian Systemd

Creating a config file and setting things up (more details here) mkdir /etc/systemd/journald.conf.d/ touch /etc/systemd/journald.conf.d/null.conf nano -w /etc/systemd/journald.conf.d/null.conf [Journal] Storage=persistent Compress=100M SystemMaxUse=5G...

Port Knocking

IPTABLES

Installing knockd apt install knockd systemctl enable knockd Making the config file to look something like this (remember to change the port sequence and set the interface for knockd to listen on) nano -w /etc/knockd.conf [options] UseSyslog ...

Fail2Ban

IPTABLES