PDA

View Full Version : Squid Proxy and 4 Port Telkom Marconi Router help



RaveSpur
15-10-2005, 04:32 PM
Ok - I must admit, I am tired of searching google, myadsl etc...

I have a squid proxy server and a marconi telkom 4 port router.

I want to allow access only from the squid server to the internet.
Path: UserPC -> to squid server -> to Marconi Router -> to internet

I think I need to tell the router to only allow internet access from the squid pc...

This is I guess can be done via something called NAT.

Can someone tell me how I can get this to work?

So far I have managed to
a) give everyone access [they simply put the router's ip address in the gateway]
b) blocked everyone including myself

mufasa
17-10-2005, 08:28 AM
Ok - I must admit, I am tired of searching google, myadsl etc...

I have a squid proxy server and a marconi telkom 4 port router.

I want to allow access only from the squid server to the internet.
Path: UserPC -> to squid server -> to Marconi Router -> to internet

I think I need to tell the router to only allow internet access from the squid pc...

This is I guess can be done via something called NAT.

Can someone tell me how I can get this to work?

So far I have managed to
a) give everyone access [they simply put the router's ip address in the gateway]
b) blocked everyone including myself


the router setup, is it in bridged mode? by default squid blocks all, you have to allow the various ip's or allow access from all.

gkm
17-10-2005, 08:46 AM
I think you would need to plug everybody into a switch which you also plug into the one network card on the squid server. Everybody's PC have the same IP subnet as this network card. Then plug the ADSL modem into the other network card on the squid (via a crossover cable or whatever) and have it in a different subnet. The use the squid server as a gateway betweeen the two IP subnets. That way only the squid server will ever be able to access the ADSL modem, since it is the only one on the same IP subnet and the only one actually connected. On all the PC's you set the squid server as their gateway address (or use DHCP).