Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: thianb on October 06, 2009, 08:44:39 AM
-
Hi All
I need to configure squid so that all the users can connect through the proxy. At the moment the server manager only allows me to enable squid but not to configure it. Is there an rpm that you can download that will give me more configuration options in server manager. Please help?
Thian
-
If you use SME in server & gateway, all your users will automatically use the proxy as it's configured to be transparent (all requests on port 80 will be redirected to 3128, where squid listen to)
You can change some default configuration with db commands: http://wiki.contribs.org/DB_Variables_Configuration#Squid_Proxy_.28squid.29
And if you need more advanced customizations, you'll need to create custom templates.
Regards.
-
Hi VIP
On the client machines do you then set their web browsers to use the proxy with the IP address of the server and port 80 or do you use port 3128?
Please let me know?
Thian
-
Do you also need to set the server to point to the default gatway that points to the Iburst internet router?
-
Hi VIP
On the client machines do you then set their web browsers to use the proxy with the IP address of the server and port 80 or do you use port 3128?
If the SME server is the default gateway for your clients (used in server & gateway), you don't have to configure the proxy, the redirection is automatic and transparent.
If your SME server is in server-only mode, you need to configure the web browser on your clients to use your SME server as proxy on port 3128
-
Hi VIP
When I set my laptop's default gateway to 192.168.1.17 which is the SME server it says website found waiting for reply but nothing happens. I configured the default gateway of the SME server to point directly to the Iburst router and I allowed the SME server to connect through the Iburst router but it doesnt want to work.
Please help
Thian
-
Is your SME Server configured as server & gateway, or server only ?
If it's in server only, it cannot route anything. You need to configure your Iburst router (not sure what it is, I guess it's your ISP router) as default gateway for your clients, and then configure the web browser of your clients to use your SME (192.168.1.17) as proxy, on port 3128.
Regards.
-
Hi VIP
My SME server is configured as Server and Gateway.
Regards
Thian
-
ok.. so, please, tell us the ip of eth0 and eth1 (lan and wan)
thank you
-
The IP address of eth0 is 192.168.1.17 and eth1 is 192.168.1.18.
The SME server has a default gateway of 192.168.1.8 which points to our Iburst router for internet.
Regards
Thian
-
It cannot work: you have the same subnet on both side (lan and wan). When your SME Server need to send a packet to 192.168.1.8, it cannot know if it should send on the lan or on the wan NIC.
You should change one of the subnet address. Eg: replace 192.168.1.X with 192.168.2.X on the wan side
Regards
-
Hi VIP
I changed the eth1 IP to 192.168.0.100 but its still not working. Do you need to assign the ip statically or dynamically? Does it need to point to the ISP or how do I need to configure it?
Regards
Thian
-
Well, you can use static or dynamic IP if your ISP's router provide DHCP. You also need to change the IP of your ISP's router to be on the same subnet as eth1 of your SME Server. Eg:
[clients: 192.168.1.0/255.255.255.0] <-> [SME eth0 192.168.1.17 / SME eth1 192.168.0.100] <-> [ISP Router 192.168.0.1]
-
Ok VIP
I changed the eth0 IP to 10.10.1.1 mask 255.255.255.0 and my laptop ip to 10.10.1.2 255.255.255.0. The eth1 IP is 192.168.1.17 255.255.255.0 and the gateway is 192.168.1.8 which is the Iburst router. It still doesnt want to work. I set the default gateway on my laptop to 10.10.1.1 but when I opet Internet Explorer it says website found waiting for reply but nothing happens.
Regards
Thian
-
Try to ping any IP address from internet.
#ping 200.176.3.142
if it works so your problem is DNS resolution. In this case post your /etc/resolv.conf file here.
Thanks
Jáder
-
Ok Guys
I got the internet working but now I have to configure squid with usernames and passwords for the users. How do I enable user access control on the proxy?
Please help?
Regards
Thian
-
thianb:
please, take the time to search the forums and the wiki.. hint: dansguardian
-
Is there a website that I can use to download the Dansguardian rpms because when I follow the steps according to the Sme server how to documentation it keeps on trying to download a primary file from all of the available mirrors and fails to download the file eventually?
Please let me know?
Thian
-
thianb:
short answer: no
long one: you should really consider the fact we can't help you if you don't help us to understand your problems..
what does "it keeps on trying to download a primary file from all of the available mirrors and fails to download the file" mean? we are (very) far from you, your server, your monitor and can't see/read..
if you have problems to access repositories:
- you have network issues (do you have a firewall/UTM appliance in fronto of your SME?)
- you have SME issues, so it's time to report it in bugzilla (link is above)
hth