logIt Log Around The Clock

Posts Tagged ‘squid’

Running Two Squid Instances in Upstart Init

After installing squid3 from repository, Ubuntu will place the init in upstart style (instead of /etc/rc*.d/ or /etc/init.d/ style used to maintain backward compatibility to legacy System-V init). The upstart job is placed in /etc/init/squid3.conf with default runlevel (2,3,4 or 5) to start the instance during reboot and relevant start/stop command using service: $ sudo [...]

Basic squid In A Gateway

This trial is done in a RedHat (RHEL 5.2) inside VirtualBox. The required squid package is using squid-3.0.STABLE13-1.el5.i386.rpm. Two interfaces is configured in this box as shown in the following NAT masquerading which build a simple router at 192.168.40.40 (eth1) : 1 2 3 4 5 6 7 8 WAN=wan0 LAN=eth1 IPTABLES=/sbin/iptables   $IPTABLES –flush                         [...]