I've been quietly going insane over the past few days trying to get ENS to work with WinGate. I've ended up totally confused. I just can't get Wingate to go using ENS! I'm not new to internet sharing and I have been using Sygate Office Network (which worked very well) until now. The logs I have referenced have all been set to show everything, debug etc.
OK so here's the deal. None of my WinGate clients have internet access. WinGate seems to be doing some of the preliminary stuff as you will read but no useful data is ever transferred.
DHCP seems to be working fine. I can "ipconfig /release" and "ipconfig /renew" just fine from my client machines. This activity shows up in the Wingate DHCP log file.
The dialer works fine too. I request a web page on a client machine and WinGate promptly connects to the internet. The log file confirms this.
Now, the DNS service I'm not sure about. Heres an extract from the log:
- Code: Select all
03/30/04 03:46:07 192.168.0.3 Guest 0000000003 Requested: DNS: A lookup "newsimg.bbc.co.uk."
03/30/04 03:46:08 192.168.0.3 Guest 0000000004 Created:
03/30/04 03:46:08 192.168.0.3 Guest 0000000004 Requested: DNS: A lookup "newsimg.bbc.co.uk."
03/30/04 03:46:09 192.168.0.3 Guest 0000000003 Traffic 159 35 0 0 2s
03/30/04 03:46:09 192.168.0.3 Guest 0000000003 Terminated exit code 0
03/30/04 03:46:10 192.168.0.3 Guest 0000000004 Traffic 159 35 0 0 2s
03/30/04 03:46:10 192.168.0.3 Guest 0000000004 Terminated exit code 0
03/30/04 03:49:01 192.168.0.3 Guest 0000000005 Created:
03/30/04 03:49:01 192.168.0.3 Guest 0000000005 Requested: DNS: A lookup "www.amazon.co.uk."
03/30/04 03:49:01 192.168.0.3 Guest 0000000005 Traffic 204 34 0 0 0s
03/30/04 03:49:01 192.168.0.3 Guest 0000000005 Terminated exit code 0
03/30/04 03:49:06 192.168.0.3 Guest 0000000006 Created:
03/30/04 03:49:06 192.168.0.3 Guest 0000000006 Requested: DNS: A lookup "images-eu.amazon.com."
03/30/04 03:49:07 192.168.0.3 Guest 0000000006 Traffic 294 38 0 0 1s
03/30/04 03:49:07 192.168.0.3 Guest 0000000006 Terminated exit code 0
Is "Terminated exit code 0" normal?
OK so my personal culprit the ENS NAT Service. Even with all the logging output turned on the file seems quite bare:
- Code: Select all
03/30/04 03:43:54 Service started
03/30/04 03:43:54 Debug: Service started: Internet Gateway (yes) IP forwarding (yes) UDP Relay (yes)
03/30/04 03:46:30 Debug: Sent route table with 5 entries, return status 0
03/30/04 03:46:41 Debug: Sent route table with 0 entries, return status 0
03/30/04 03:46:47 Debug: Sent route table with 5 entries, return status 0
03/30/04 03:47:12 Debug: Sent route table with 5 entries, return status 0
03/30/04 03:47:14 Debug: Sent route table with 0 entries, return status 0
Being totally new to WinGate I'm not sure what to expect in the log files but I would expect there to be more information on connections etc?
I can supply my routing table if need be but it seems to be in line with output from other examples in this forum.
Finally, the DNS resolver seems to be OK (I think). The logs seem to show successful retreiving and caching of ip addresses:
- Code: Select all
03/30/04 03:49:01 Request: request [00ad7276] A lookup "www.amazon.co.uk."
03/30/04 03:49:01 Debug: bounce request [00ad7276]<0> to try 1 (nothing useful in cache)
03/30/04 03:49:01 Debug: selected 213.1.119.99 <IP helper> for request [00ad7276]<1> (best looking)
03/30/04 03:49:01 Debug: request [00ad7276](ID 8) sent to 213.1.119.99 <IP helper> (34 bytes)
03/30/04 03:49:01 Debug: received block [204] (server 213.1.119.99, port 53)
03/30/04 03:49:01 Debug: added to cache from [00ad7276]
03/30/04 03:49:01 Debug: completed [00ad7276](ID 8) (0.34s)
03/30/04 03:49:06 Request: request [00ad7276] A lookup "images-eu.amazon.com."
03/30/04 03:49:06 Debug: bounce request [00ad7276]<0> to try 1 (nothing useful in cache)
03/30/04 03:49:06 Debug: selected 213.1.119.99 <IP helper> for request [00ad7276]<1> (best looking)
03/30/04 03:49:06 Debug: request [00ad7276](ID 9) sent to 213.1.119.99 <IP helper> (38 bytes)
03/30/04 03:49:07 Debug: received block [294] (server 213.1.119.99, port 53)
03/30/04 03:49:07 Debug: added to cache from [00ad7276]
03/30/04 03:49:07 Debug: completed [00ad7276](ID 9) (0.81s)
I'm hoping I'm just being a dunce and missing something totally obvious.
A few other things to note:
- I don't want to install the WinGate client on any machines (thats why I'm using NAT).
- That said, I did install the client on one machine and POW I could access the internet. WHY!? What is the client doing to enable this? NAT shouldn't need a client at all.
- I can access the internet via proxy (not what I want).
In terms of security I'm using NT authentication to login to WinGate and have assigned access to services as Guest. Clients connecting to WinGate are shown as guest in the history so I figure this is correct. I am also allowing users to be unkown where applicable.
Hope someone can help my head hurts. OMG its 4:20am ;)