#!/bin/bash set -x USER=`cat /usr/local/directadmin/data/users/support/users.list` for user in $USER; do rsync...
Scripts Articles
.htaccess Restrict IP Address on URL
# Allow specific IP on admin page <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_URI}...
Proxy With IPTables
#!/bin/bash iptables -F INPUT iptables -F OUTPUT iptables -F FORWARD iptables -t nat -F PREROUTING -t nat iptables -t...
Preventing Error ERR_BLOCKED_BY_XSS_AUDITOR
Place below code to .htaccess file <IfModule mod_headers.c> Header set X-XSS-Protection "0;...
CentOS x64 Kernel Checker Script
I've made this script to monitor out all my server if got any kernel update on my CentOS box. It's pretty easy to use,...
OpenVPN CentOS, Ubuntu & Debian Install Script
#!/bin/bash # OpenVPN road warrior installer for Debian, Ubuntu and CentOS # This script will work on Debian, Ubuntu,...
Flash Factory Asus Router (Broadcom) using TFTP
Push reset button and power on the device. Hold the reset button for 5-10 seconds. Set up static IP using this range...
Lock Down SSH – Restrict certain IP to SSH
Save as sshlockdown.sh chmod +x sshlockdown.sh ./sshlockdown.sh ########################## # LOCK DOWN...