Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Am using Fedora 15, in which i was able to configure the proxy server and authentication. i confirmed this by configuring web broswer and it works. Now the problem is that i want to deploy it out to other computer system(client) i dont want to use the transparent proxy because the Proxy Authentication will not work.
I even tried to configure a DHCP server if it will work but i cant still configure for other computer system to work. pls i really need u guys help.
Thanks in anticipation.
Dramacox
don't use transparent proxying, it's never as good as you think it is. Also authentication not working has *nothing* to do with transparency. Just don't use authentication and explicitly define the proxy in your browser.
Thanks for your advice..pls i will confirmed dat my DHCP server is working after configuration and also to specify the listening interface(eth0, eth1). Thanks
U not have answer my problem. A squid proxy server is setup up on a server that has 2 NICs how will i configure the second NIC(eth1) so that my clients connected to the NIC will be proxied. Thanks
OK, I misread your question a bit there, sorry. You should have to do nothing for it to work on eth2. if squid is running it would be listening on eth2, you might need to adjust iptables to allow connections to 3128, but other than that there is nothing to do.
Thank Cris, your advice maybe helpful, below is the iptable configuration.
eth0 is on dhcp and its connected to the internet
eth1 is on dhcp also.
i have tried various solution but its not just working out but the whole processes are working well on the server itself.
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type echo-reply -j REJECT --reject-with icmp-host-prohibited
-A INPUT -p icmp -m icmp --icmp-type echo-request -j REJECT --reject-with icmp-host-prohibited
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 3128 -j ACCEPT
-A INPUT -J ACCEPT -p all -s 172.16.0.0/12 -i eth1
-A OUTPUT -J ACCEPT -p all -s 172.16.0.0/12 -i eth1
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT
ok, so the firewall rules look fine. does "netstat -plnt" show squid listening on that port on all interfaces? can you telnet to that port from a client?
when i issued the command the out was listed below. all my client are using windows. pls do u know anything on routing from outside interface( NIC1) to inside interface NIC2?
routing? Are these clients on directly on the same subnet as eth2?
Squid is a proxy. there is no routing on a proxy service. the client talks to the proxy, the proxy talks to the remote web servers, nothing is ever routed directly between the two endpoints.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.