[Manual] Creating Transparent Proxy With squid and IPTables
For creating transparent proxy we need edit squid.conf and add iptables rules. Edit /etc/squid.conf file with your favorite editor, example vi vi /etc/squid.conf Add or change this lines. http_port...
View ArticleInternet gateway on FreeBSD
Building a gateway to the global network on FreeBSD – this is one of the most frequent cases using this system. The main pluses of this decision are: stability, scalability, resistance to high loads...
View Articleipfw nat on FreeBSD 7
In the kernel configuration add: options IPFIREWALL # firewall options IPFIREWALL_VERBOSE # enable logging to syslogd (8) options IPFIREWALL_DEFAULT_TO_ACCEPT # allow everything by default options...
View Article[Manual] Setting up hosting server with Ubuntu 10.10
We assume that already installed apache2 with php and vsftpd Now let’s create xyz.com site 1. Creating user for ftp access adduser xyz 2. Createing home directory for site mkdir /home/xyz/www 3....
View ArticleTemporary Reset existing IPTables rules till system reboot
Create a script vim /etc/stop_firewall.sh Copy this inside #!/bin/sh echo "Reseting iptables rules..." sleep 1 iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F...
View ArticleBlocking Skype in FreeBSD
We need computer with Windows and Skype installed, preferably the latest version. Turning off all programs that could connect to the Internet, windows update and everything else. Lets enable Skype and...
View Article[Review] 18 steps to better Data Security
01 We still use tar Back up with tar. The old ones are the best, and a full backup of your home directory with tar is easy to do and easy to restore from. Put it on a USB stick, external drive, cloud...
View Article[How To] Enable iptables log file in Ubuntu 11.04
Edit syslog configuration file vim /etc/rsyslog.d/50-default.conf Restart rsyslog service service rsyslog restart Change owner of the firewall.log file chown syslog:adm /var/log/firewall.log After...
View ArticleInstall WEB server (LAMP) on Ubuntu with Firewall, Phpmyadmin and Firewall
Installing LAMP server Update source apt-get update Install Vim apt-get install vim Install tasksel apt-get install tasksel Install LAMP (with tasksel) type tasksel select LAMP and install Install...
View ArticleWatchgurd http-proxy problem with some web pages
Sometimes some web sites have some headers which is not standard. To open this kind of sites (ex. odnoklassniki.ru) behind the WatchGuard firewall you need to reconfigure http-proxy. In Proxy Settings...
View Article