Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Can not configure clients under Wingate 6.04

May 04 05 4:27 am

I have a Dlink DI-624 with IP address 192.168.0.1 router setup to provide IP addresses from 192.168.0.100 to 192.168.0.199 and
Subnet 255.255.255.0

My Wingate server 6.04 has two network cards
The one connected to Dlink is configured to obtain and automatic IP
address and subnet, the preferred DNS Server is the IP of the Dlink 192.168.0.1

The second card is connected to my switch Trendnet TE100-S8P
I fixed the address to be 192.168.4.1 with a subnet of 255.255.0.0 (this subnet is different from the one from DLINK) by going to My Network Places right clicking and selecting Internet Protocol TCP/IP properties.

This wingate server goes out to the internet with no problems.
I have a second computer attached to the Switch with TCP/IP settings
Obtain automatic IP address and obtain DNS Server Address Automatically
The IP address this computer gets is 169.254.93.146 (not the range I want) with the correct subnet of 255.255.0.0 when I ping 169.254.93.146 I
get sent=4 received=4

I set up the Gatekeeper as follows
DHCP mode Fully automatic
Under DHCP settings I see two cards 192.168.100 (connects to the router)
and the card that goes from the Wingate Server to the switch Trendnet
with IP address 192.168.4.1 and a scope of 192.168.4.2 to 192.168.4.255

I am using Windows 2000 Pro on both computers
I also opened the ports in the firewall from 23-8088
What is wrong with this configuration.

Thank you for your help.
Thanks

May 04 05 9:35 am

This IP address belongs to the automatic range - meaning, that the IP address was not obtained. I think the reason is the mask you use on the internal side - 255.255.0.0 covers the external range as well, try 255.255.255.0

May 04 05 1:44 pm

genie wrote:This IP address belongs to the automatic range - meaning, that the IP address was not obtained. I think the reason is the mask you use on the internal side - 255.255.0.0 covers the external range as well, try 255.255.255.0


Now I am getting on the client computer the IP address of
192.168.4.5 and 255.255.255.0 which is what I want
The in card in the Server has 192.168.0.100 and 255.255.255.0
with a default gateway of 192.168.0.1 (DLINK router)

The out card from the server is 192.168.4.1 and 255.255.255.0
But still my client 192.168.4.5 with 255.255.255.0 can not access the internet.
Any sugguestions?

May 04 05 1:55 pm

First and foremost - make sure that the adapters usage is configured correctly - they are deemed external/internal properly (in Gatekeeper).

May 04 05 2:02 pm

For this to work, there are 2 possible scenarios.

1. WinGate acts as a router. In this scenario, both adapters on the WinGate machine need to be deemed as Internal, also, you need to add a route on your DLINK router for the 192.168.4.0 subnet, using the IP of your WinGate machine as a gateway to that subnet. Otherwise when the DLINK receives packets with the source address of 192.168.4.X, it will send return packets out onto the Internet, since it has no specific route for that subnet.

2. WinGate NATs between the client and the DLINK. In this case, just set the DLINK-side interface to be External, and the other one to be internal. Then WinGate will perform NAT between the client machine and the DLINK router, which will re-NAT it out onto the Internet.

Adrien
Post a reply