Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You will need to configure some port forwards on the router, to transparently redirect traffic on port 80 destined for the internet, to the squid server port 3128.
I did the same but it is accessible after changing browser's settings. and as i made those changes what u told me , but still blocked sites are accessible.
m not getting properly if everything is ok.
My eth0 has 192.168.0.59
and eth1 has 10.230.1.1
and there is my another FTP server too at 192.168.0.60 and after these am not able to access FTP from clients.
Please Help me how to do..?
Last edited by anandnenwani; 11-02-2011 at 07:24 AM.
I did the same but it is accessible after changing browser's settings. and as i made those changes what u told me , but still blocked sites are accessible.
You REALLY need to provide more information about your network topology.
I am guessing the host running squid, is not acting as a gateway/router to the internet? (based on the two NIC's with private IP's)
Assuming this is true, you need to create iptables/firewall rules, on the gateway/router, to redirect traffic on port 80, to the squid server, on port 3128.
This is what gives you a "transparent" proxy, where by the client machines, are unaware they are being sent through a proxy, and also saves having to configure every host to use a manual proxy configuration.
This is My network map, I don't want to do every client's browser's settings as well. and there is my FTP/Http server i want to get access from my client's also.
as i did iptables prerouting redirect command too. but i think i m leaving something, please Reply me.
On the host that runs the squid, can you show output for:
iptables -L -nv -t nat
also
sysctl -a|grep forward
if the squid runs on a host acting as a gateway/router it should quite straight forward, if it's not i'm guessing its still possible to transparently intercept http somehow.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.