Still working hard to keep my server security locked down from attacks. This script checks lighttpd logfile for unusual behaviour Script to monitor and block IPs spaming in varios ways my Word Press and SQUID Server Update 07/2016 tested on […]
Failed to read keytab [default]
When starting sssd in centos 7 I was getting this error: “Failed to read keytab [default]”SOLUTION:rm /etc/krb5.keytabklist -kvi /etc/samba/smb.confsecurity = adsdedicated keytab file = /etc/krb5.keytabkerberos method = secrets and keytabrealm =service smb restartnet ads testjoinnet ads leave -U Administratornet ads […]
Python 3 Django Mariadb
Centos 6 x64 Python 3 Django Mariadb I found out the hard way that python 3 default mysql driver does not work Anyways You will need to install mariadb devel vi /etc/yum.conf.d/mariadb.rebo # CHECK YOUR MARIADB VERSION rpm -qa |grep […]
URBACKUP CENTOS 7 HOW TO INSTALL
URBACKUP CENTOS 7 HOW TO INSTALL Centos 7 x64bit urbackup-server-2.0.36 Requirements: yum install autoconf automake binutils bison flex gcc gcc-c++ gettext libtool make patch pkgconfig redhat-rpm-config rpm-build rpm-sign yum install zlib-devel.x86_64 zlib.x86_64 libcurl-devel.x86_64 cryptopp-devel.x86_64 wget “https://hndl.urbackup.org/Server/2.0.36/urbackup-server-2.0.36.tar.gz” tar -zxvf urbackup-server-2.0.36.tar.gz cd […]
VPN openvpn howto linux
yum install -y openvpn modprobe iptable_nat echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -s 10.4.0.1/2 -o eth0 -j MASQUERADE cd /etc/openvpn/ openvpn –genkey –secret vpn.key vi openvpn.conf openvpn.conf port 8080 proto tcp-server dev tun1 ifconfig 10.4.0.1 10.4.0.2 status […]
Reverse SSH Tunnel
The idea is to have my IP autostart connect to my Cloud server, this way I can remote control my Raspberry PI without having to configure DynDNS and firewall rules. The only requsisite is that PI has internet and run […]