Network computers can't connect via Wingate 5222

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Network computers can't connect via Wingate 5222

Postby fr.anthony » Feb 06 04 8:35 am

We set up a new server and moved Win2KadvServ containing Wingate 5222 to it via a ghost image. We are using 2 NICs, one for the network and a second for the broadband connection.

We connect to the internet from the new server, and all machines on the network connect to the server. But no internet applications on newtork machines can connect to the internet.

Looking at the Gatekeeper at start-up, it gives a system message that it has bound to the IP on the broadband NIC. But it does not also say that it has bound to the LAN NIC, as I believe it always did before changing servers.

Maybe something got corrupted in the change-over? Is there someplace in Wingate where I can copy the configuration from the previous machine's files. BTW - moving the network cables back to the old server makes everything work again. So I'm guessing it has to be a configuration issue.

Thanks for any suggestions.
fr.anthony
 
Posts: 3
Joined: Feb 06 04 8:24 am

Postby labull » Feb 06 04 9:23 am

Are the IP addresses on the NICs the same on both computers?

I'm guessing possibly the internal is not.

If that is the case you merely have to bind the internal address to the WinGate services you use.

Larry
WinGate Lurker
labull
WinGate Guru
 
Posts: 710
Joined: Sep 06 03 1:03 am
Location: Washington, DC - USA

Postby fr.anthony » Feb 06 04 9:30 am

>[quote="labull"]>Are the IP addresses on the NICs the same on both computers?

No. The new computer has the same as the previous server, and the previous server is disconnected from the network.

>I'm guessing possibly the internal is not.

>If that is the case you merely have to bind the internal address to the WinGate services you use.

How to do it?

Also, I neglected to mention in my original post that the network machines cannot see the wingate server at all...if the Client is opened, it cannot find the server. I tried reinstalling the WGIC, but the installer could not see the server on the network either, and offered to set itself up as a server instead of a client.

Thanks for the input, though.
fr.anthony
 
Posts: 3
Joined: Feb 06 04 8:24 am

Re: Network computers can't connect via Wingate 5222

Postby Pascal » Feb 09 04 8:52 am

fr.anthony wrote:Maybe something got corrupted in the change-over? Is there someplace in Wingate where I can copy the configuration from the previous machine's files. BTW - moving the network cables back to the old server makes everything work again. So I'm guessing it has to be a configuration issue.


First suggestion is to open the appropriate proxies and to check which Interfaces they are bound to. You should see a binding to your internal LAN nic (Normally).

For a quick copy of WinGate settings, you can export:

HKEY_LOCAL_MACHINE\Software\Qbik Software\WinGate

That contains the basic setup information for WinGate. (There are some additional keys for the driver, etc.)

How are your clients connecting to the WinGate Server ? Using WGIC ?
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand

Re: Network computers can't connect via Wingate 5222

Postby fr.anthony » Feb 09 04 12:27 pm

[quote="Pascal[/quote]

First suggestion is to open the appropriate proxies and to check which Interfaces they are bound to. You should see a binding to your internal LAN nic (Normally).

For a quick copy of WinGate settings, you can export:

HKEY_LOCAL_MACHINE\Software\Qbik Software\WinGate

That contains the basic setup information for WinGate. (There are some additional keys for the driver, etc.)

How are your clients connecting to the WinGate Server ? Using WGIC ?[/quote]

The binding appears to be only to the external interface (the nic on the cable modem). That's the only one that shows up.

We've tried using NAT to connect (which we used before changing server machines), WGIC, and a combination of both. None work.

We've been using a hardware switch/router for the network for a little over a year...but never tried to use the built-in firewall and connect it directly to the broadband connection, since Wingate worked well and I don't believe in fixing what isn't broken! But this problem got me to go ahead and configure the switch/router and try connecting through it.

It works so well, I have no desire to go back to Wingate. But I'd still like to solve the problem because I don't like loose ends. And I might have a need to use Wingate again sometime.
fr.anthony
 
Posts: 3
Joined: Feb 06 04 8:24 am

Postby labje69 » Feb 17 04 4:31 am

We also have ghosted our machine. And unfortunately we have the same problem. The HTTP requests results in: socket error 10049.
Please can anyone help!!! We cannot change our machines till we have fixed this problem.
labje69
 
Posts: 5
Joined: Feb 17 04 4:22 am

Postby labje69 » Feb 19 04 12:05 am

QBIK staff: please respond!!!
labje69
 
Posts: 5
Joined: Feb 17 04 4:22 am

Postby Pascal » Feb 19 04 6:45 am

labje69 wrote:We also have ghosted our machine. And unfortunately we have the same problem. The HTTP requests results in: socket error 10049.
Please can anyone help!!! We cannot change our machines till we have fixed this problem.


Socket error 10049 means "The requested address is not valid in its context. ".

Have you (a) checked that your Internet Connections are set up properly, with the correct IP addresses, etc. and (b) that your bindings and interfaces in WinGate are correct ?

How are you connecting the clients, via NAT, WGIC or proxies directly ?
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand

Postby labje69 » Feb 23 04 11:24 pm

Hello Pascal,

a. Yes, via direct contact, it works fine. We have only problems when we connect via the proxy. Or is there a configuration sheet where the IP adresses of my ISP have to be filled in?
b. No errors are reported in the wingate screen. So I think the bindings are oke, how can I check this?

We are connecting via proxies directly.
labje69
 
Posts: 5
Joined: Feb 17 04 4:22 am

Postby Pascal » Feb 23 04 11:54 pm

labje69 wrote:a. Yes, via direct contact, it works fine. We have only problems when we connect via the proxy. Or is there a configuration sheet where the IP adresses of my ISP have to be filled in?
b. No errors are reported in the wingate screen. So I think the bindings are oke, how can I check this?


Open GateKeeper and navigate to the appropriate Service (WWW Proxy Service, in this case). Switch to the "Bindings" tab. That should be set to your internal network's adapter. Normally, WinGate will default to that config though, so it might be off base, but worth a check.
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand

Postby labje69 » Feb 25 04 6:11 am

That setting is OK.
Do you have any other suggestions?

Kind regards,
Sandra
labje69
 
Posts: 5
Joined: Feb 17 04 4:22 am

Postby erwin » Feb 25 04 8:59 am

Hi there

By the sounds of things the second Network Card that connects to the rest of the LAN is not being bound in WinGate. This can be because:

There is no private IP address in the network properties of this card and so thats why WinGate doesnt bind it. This card should be configured with a Private address that is in the same range as what the rest of the network is using (such as 192.168.1.*)

It is also THIS address that clients should use as their Gateway and DNS entries in their network properties to access the WinGate server via NAT,WGIC. This address is also used/entered in the clients Internet application settings when it asks what is used for the proxy server address.

It is also usually the only IP address (apart from 127.0.0.1) that should be in the "bound window" on the bindings tab of the services (www,socks etc), in GateKeeper. Usually it is not wise to have the broadband IP (external) in the "bound window" on the BINDINGS tab on any of the Services as this will pose a security risk.

Regards
Erwin
erwin
Qbik Staff
 
Posts: 408
Joined: Sep 03 03 2:54 pm

Postby labje69 » Feb 26 04 3:42 am

We found the problem!!!
I checked the bindings earlier, and I didn't see any problems.
I had set the proxy open for outside as inside as well, I know, security risks, but I was desperate!
Later, after browsing using the bindingstab in the "connections will be accepted on" field, it worked suddenly.
Later you can choose the option you want. It has to be greyed. If not, it does not work. Tip: browse and then choose the option you want. Start and stop the service and it works. Amazingly!!!

Thanks everyone for the help!
labje69
 
Posts: 5
Joined: Feb 17 04 4:22 am


Return to WinGate

Who is online

Users browsing this forum: No registered users and 2 guests