Quote:
Originally Posted by soumalya
I tried to configure Squid as Transparent Proxy, but I failed
1. I am using CentOS
2. Broad band dial up connection in Centos(ADSL Setup)
3. using open dns 208.67.222.222
4. local lan ip 172.16.11.10/255.255.0.0
What I have done so far
A. add in squid.conf
1. acl all src 172.16.0.0/255.255.0.0
2. http_access allow all
3. http_port 3128 transparent
4. Service squid start
B. IPtables rule
1. iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to 172.16.11.10:3128
2. iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
3. iptables -I INPUT -s 172.16.0.0/255.255.0.0 -p tcp --dport 3128 -j ACCEPT
in my windows box
1. ip address 172.16.11.55/255.255.0.0
2. gateway 172.16.11.10
3. dns 208.67.222.222
That's it
but now I can not access internet, if I configure my browser and set browser proxy I can access easily.
Please help.
|
This is the
EXACT SAME QUESTION you posted to start this thread. Posting it a second time is pointless.
If you're not going to read the replies you've received (not only in this thread, but in the
MANY squid threads you've posted for YEARS now), and apply what you've been told, there's not much point asking questions. You have been directed to documentation, how-to guides, and many other resources, but don't seem to what to make an attempt to read/understand them. There's not much we can do for you if you don't show effort of your own.
Again, there is MUCH you can find with a simple Google search. Try reading and
UNDERSTANDING the documentation:
http://www.tuxradar.com/answers/432
http://community.spiceworks.com/topi...a-proxy-server
http://wiki.squid-cache.org/SquidFaq/InterceptionProxy
AGAIN:
- Don't bump your own threads if you're not going to add any information to them
- Don't keep asking the same question over and over
- Provide answers to questions you're asked
- Saying things like "I failed", tells us NOTHING...you've been asked for information numerous times, but don't provide it.
If you can't/won't answer questions asked of you, or show any effort to do things that have been suggested to you, there's not much point posting questions in a public forum. Hire a consultant, and have them do it for you, or get your systems administrator to do such things.