Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i will configure transprant squid 2.7 STABLE 3
my configuration is [ubuntu][redhat el5]
http_port 3128 transparent
acl lan src 172.16.20.0/24
http_access allow localhost
http_access allow lan
this the my simple configuration in
eth0=192.168.150.10 this is the wan interface
router ip is the gateway of the eth0 the ip is 192.168.150.5
eth1=172.16.20.1 this is the lan gateway
this is the my transparent squid configuration .
i run the squid server i dont see any error squid is running
this is the my iptables nat configuration
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to 192.168.150.10:3128
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
and enable the net.ipv4.ip_forward=1 the forwarding
i assign the clients gateway 172.16.20.1 for eth1 ip but net is not access for client machin i dont see any error (any port forwarding rule is need or not i don't no). please help me (and add the transparent squid futures )
Last edited by mohanbsc; 09-08-2009 at 07:36 AM.
Reason: i miss the few steps