Solved

Windows and Linux Problem IP Address

Posted on 2010-11-13
3
662 Views
Last Modified: 2012-05-10
We have this scenario here. we have the .NET server which is having an IP 31 which is on windows 2003 and a squid proxy server on red hat linux with IP:3

Now on this .net server we have domain controller installed as well and we have made a dns server as well. So if we create any website then we have to add that entry into the DNS.

now the configuration of each client window machine is as follows :

ip: a unique ip.
subnet:255.255.255.0
gateway :192.168.1.1

primary dns:192.168.1.31 (the server where we created dns)

and the IP configuration for server with ip 31 is :

ip:31
subnet:255.255.255.0
gateway : BLANK

Primary DNS:127.0.0.1

all these computers are getting internet from proxy which is IP 3 so entry is done in browsers(both server and client machines). Now gateway in server is not given because if we given gateway 192.168.1.1 in server then clients machines can open Gmail.com which we have blocked in proxy.

Why we have given gateway in client machine because Internet still works even if we remove gateway in client machine?

The reason is we have to give access to our employees to our company email accounts whose incoming and outgoing pop servers are mail.companyname.com
Now if we dont give gateway in client machines, we are unable to configure mail.companyname.com email ids in Outlook because i think some kind of settings is done in SQUID not to allow mail.mail.companyname.com.com which we did some time back because we were unable to take backups of each client machine emails. Now we are able to take email backups so that is done. so we want to remove this restriction in squid.

Why this problem came?

Now if we are opening any .net website from client machine which is installed on 31 server and that page has Recaptcha control in it , it gives error that it is unable to contact recaptcha server . so we want technousa.com to be accessed from proxy and then we will add the gateway at server 192.168.1.1 and remove this gateway from clients. so technousa.com email accounts will come from proxy and recaptcha will contact the recaptcha server directly without going through the proxy.

Please help us with this problem as we have to solve recaptcha problem as soon as we can .

thanks
Johnny.
0
Comment
Question by:technicalsys
3 Comments
 
LVL 1

Expert Comment

by:garyhak2009
ID: 34127104
Hi

Does the domain controller have a default gateway? How are your doing external dns name resolution? I have never used SQUID before put all proxies have a setting to bypass proxy for local addresses.
What browser are you using you can set proxy settings in browser to bypass proxy for local addresses.
0
 
LVL 1

Accepted Solution

by:
wamanma earned 500 total points
ID: 34127178
Most probably recaptcha server or the port from which recaptcha is used is blocked in squid proxy.

You can check the access.log file to check what is blocking recaptcha. To do this do the following..

1. on the squid proxy server cd to squid log location (default is /var/log/squid)
2. enter the command "tail -f access.log | grep x.x.x.x ( x.x.x.x. being ip address of the client from where you would run your web application to check recaptcha)
3. find which address or port s denied)

you will have to allow access to the blocked content in squid..

If this does not help, post the output of the above command.

Take care..




0
 

Author Closing Comment

by:technicalsys
ID: 34770695
Did not get the proper solutiosns
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question