![]() Now we can test browsing on Client Machine. ![]() Iptables -I INPUT -s 10.0.0.0/8 -p tcp -dport 3128 -j ACCEPT Iptables -t nat -A PREROUTING -i eth0 -p tcp -dport 80 -j REDIRECT -to-port 3128 iptables -t nat -A PREROUTING -i eth1 -p tcp -dport 80 -j DNAT -to 10.0.0.1:3128 service squid startĬhkconfig squid on Step-5 IPtables rule for transparent squid proxy. ![]() Scientific Linux for those of you who do not know is based off of Red Hat Linux Enterprise Edition 6. Save and Exit ‘:wq’ Step-4 Restart and ‘chkconfig’ the squid service so the service can be available on time of boot. I'm working on a Scientific Linux box and am trying to install Maven using the yum command. http_port 3128 transparent Step-3 Specify the hostname at the end of the file. vi /etc/squid/nfĬreate one acl acl lan src 10.0.0.0/8 Allow http access for ‘lan’ http_access allow lanĪdd the word transparent or intercept after the port ‘3128’ just follow the below line. yum install squid -y Step-2 Edit squid configuration file ‘/etc/squid/nf’. ![]() CetnOs 6.4 (as squid transparent proxy server), Hostname = eth0 : (Connected to Internet) IP = 192.168.1.211/24, Gateway = 192.168.1.1 and DNS = 8.8.8.8 eth1 : (Connected to LAN) IP = 10.0.0.1/24, and DNS = 172.0.0.1 Xp Pro SP3 (Client PC for testing). Installing nmon on Linux 6 Posted on Apby Garth The nmon (Nigel’s Monitor) tool was written initially for AIX to monitor system performance, but there are plenty of distributions available now so people can use it on a variety of operating systems these days, including flavours of Linux and even the recent Raspberry Pi (mini ARM.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |