Network Troublshooting > Linux Proxy Server Support

how to use two network in squd proxy with one internet connection

<< < (2/2)

kaushalpatel1982:
1.   You configured your networks with same ACL name which should be different as I mentioned in previous discustion.

2. In HTTP_Access, You are trying to deny sites for all networks. You have to again follow the configuration as pervious discustion.

3. Rather this many blocksite list you shoudl create a file and configure it like you have configured it for Block file. and same suggestion for Blockregexurl.

4. I dont know why you configure "http_port 192.168.2.2:999". If you want to use that Only from this IP address and port of server will be used by server then comment the above line. Also add the same line for another network if required.

It seem like your squid was not working when you restarted the service. Restart the service once you have change your configuration.

nmmurali:
Dear kaushalpatel

Now i changed my configuration setup now iam using previous configuration as it is means 192.168.2.0 but new network is 192.168.3.0

eth0 : wan ip
eth1: 192.168.2.0 Network
eth2: 192.168.3.0 Network

In squid.conf file is 192.168.2.2:999

In above 192.168.2.2 is proxy server ip and 999 is port number because in clients are using based on proxy server i need to configure the client browser proxy server ip with port number otherwise they are not getting internet.

In present configuration

eth0 : 192.168.1.218/255.255.255.0/192.x.x.x (gateway)
eth1 : 192.168.2.2/ 255.255.255.0 / 192.168.1.218
eth2 : 192.168.3.1/255.255.255.0 / 192.168.1.218

In the squid file i configured 192.168.3.1:3128

Now 3.1 network clients are getting internet based on above configuration but they are getting internet based on 2.2 network condition (blocking) why i need 3.1 network with full access

squid.conf

acl nomus_network src 192.168.2.0/255.255.255.0
acl nomus_network_2 src 192.168.3.0/255.255.255.0
acl business_hours time  M T W H F A 9:30-18:00
http_access allow nomus_network business_hours
http_access allow nomus_network_2


http_port 192.168.2.2:999
http_port 192.168.3.1:3128

Kaushal please telme any miss configuration

Thanks a lot

Navigation

[0] Message Index

[*] Previous page

Go to full version