Setting up SQUID proxy on CentOS

I have heard that Squid supports Cisco WCCP version 1 and 2, I need a proxy server / cache engine that can help me do proof of concept with WCCP. I created a VM which runs on CentOS, and install squid: yum install squid -y I modified the configuration on this path /etc/squid/squid.conf By default … Continue reading Setting up SQUID proxy on CentOS

Security: Script for iptables and how to start up.

#!/bin/bash IPTABLES=/sbin/iptables SAVE=/sbin/iptables-save #RESTORE=/sbin/iptables-restore #INITIALIZE IPTABLES $IPTABLES --flush $IPTABLES --delete-chain #INBOUND RULES, ALLOW ONLY TRAFFIC IN THE STATE TABLE $IPTABLES -A INPUT -m state -p tcp --state ESTABLISHED -j ACCEPT $IPTABLES -A INPUT -m state -p udp --state ESTABLISHED -j ACCEPT $IPTABLES -A INPUT -m state -p icmp --state ESTABLISHED,RELATED -j ACCEPT #$IPTABLES -A INPUT … Continue reading Security: Script for iptables and how to start up.

Security: Configuring basic stateful firewall for Backtrack 5

Outbound rules iptables -A OUTPUT -p tcp -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A OUTPUT -p udp -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A OUTPUT -p icmp -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT Inbound rules iptables -A INPUT -p tcp -m state --state ESTABLISHED -j ACCEPT iptables -A INPUT -p udp -m state … Continue reading Security: Configuring basic stateful firewall for Backtrack 5