Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: Smitro on June 22, 2009, 03:46:58 PM
-
Hi all,
I've just recently moved house, and my internet connection now costs a fortune :sad:
One way I thought of helping this was by using the proxy server in my SME box. I've had my SME box working for years, and it's working a charm. It works in server only mode as a web and mail server for others.
At the moment, the server handles the DHCP for the local network. When you get an ip address from it, the DNS server is the SME box and the Router is the Gateway. Can I modify the DHCP to tell all the clients to use the SME box as the Gateway and therefore they would use the built in transparent proxy?
I don't want to go down the path of getting another network card in the server and running and internal and external side. I like having the option of being able to bypass the box completly when I'm testing stuff. This at the moment is as simple as putting in a manual IP address.
Thanks in advance.
-
A setup I previously used wich means setting up two LAN:
- Add extra NIC, connect the new NIC to the gateway router and reconfigure your server as a server-gateway.
- Hook up your LAN clients and the servers LAN NIC to a switch. Here in your inner LAN your traffic gets proxied by the server.
- If you need direct access to the outer LAN, reroute needed cables directly to the router
- Remember that the two LANs need to be on different subnets, like 192.168.0.x and 192.168.1.x. Therefore you can't have both sides of the server connected to the same network.
I can't think of any simpler solution to your problem that I know would work, at least not with SME wich are (successfully) designed for a few basic setups.
-
Can I modify the DHCP to tell all the clients to use the SME box as the Gateway and therefore they would use the built in transparent proxy?
No.
Just configure the browsers on your LAN to use the proxy.
-
Wow, so clients can use the proxy in SME Server even when it's in server-only mode?!
And it only requires that the clients are configured to have SME as their proxy?!
Is that correct understood? If so, I could (test and) document it somewhere, FAQ maybe as I have a dim memory of this being discussed before.
-
Per
Is that correct understood?
Yes
-
Thanks, yeah I had already setup the machines to use the proxy in the mean time. I was just stuck on my Wife's laptop which comes and goes between 2 networks. I figured she wouldn't want to change the proxy settings every time, just to save a MB here and there. I think I just won't worry about hers. I thought if it's something simple I've missed I'll give it a go.
For Per's sake, in your browser set your proxy settings to the IP address (or name) of your server and the port to 3128 and it will work.
-
Smitro
I was just stuck on my Wife's laptop which comes and goes between 2 networks.
You can configure different hardware profiles to cater for those different locations.
-
I was more thinking along the lines of an auto configure method for anyone that I allowed to come and connect to my network.