WINGATE AS THE SECOND ROUTER...

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

Moderator: Qbik Staff

WINGATE AS THE SECOND ROUTER...

Postby mcit » Sep 18 06 4:20 pm

I am trying to discover how to run wingate behind a hardware router. The simple reason for this is that I have a client who is running wingate on an ADSL connection via a router configured as a bridge. Therefore the server manages the logging on and off of the connection. The problem is that even using both the wingate dialer and a third party dialer application, there is occassions where the ADSL connection drops and does not re-dial.

To try an combat this I configured the router to establish the connection, then set the DMZ to the wingate server, then made the default gateway on the wingate machine to address of the router. The clients are configured just as before [all point towards the wingat machine as the default gateway.

It seems to work partially, however, there are certain sites where the pages begin to load, but never actually display. Other sites work fine. Everything is a little slow however. The only pattern that I can find so far is that no https or SSL sites will load whatsoever.

Is there a configuration that I have missed? I have never tried to set wingate up this way before.
mcit
 
Posts: 32
Joined: Jun 24 04 2:53 pm
Location: Australia

Postby adrien » Sep 19 06 4:02 pm

Hi

It's not uncommon to have WinGate go through a second router.

I'm wondering if your router though is using PPPoE? If so, it will have a slightly smaller MTU (max packet size). Normally about 8 bytes smaller than the default of 1500.

This could possibly cause trouble with things like SSL connections (these seem to be more susceptible to MTU issues for some weird reason).

anyway, try setting the MTU of your external adapter in WinGate to 1492 -in the advanced settings MTU override.

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

ROUTER...

Postby mcit » Sep 20 06 7:21 am

This router is using PPPoA. I am unable to find the setting that you mention for the MTU. Is that a wingate setting or will it be on the network card properties in windows?

If this is the problem, would it also explain the speed issue?
mcit
 
Posts: 32
Joined: Jun 24 04 2:53 pm
Location: Australia

Postby adrien » Sep 20 06 8:43 am

Hi

Depending on the variant of PPPoA, it can reduce MTU. A MTU issue could definitely slow things down, since big packets would get dropped resulting in retries (depends on settings in your OS).

Its in the adapter properties in GateKeeper on the advanced tab under MTU override.

You can test MTU by finding a site you can ping on the net, and pinging it with larger packets, and set the "don't fragment" flag.

E.g.

ping smtp.qbik.com -l 1472 -f

will work if your MTU is 1500. (have to subtract 28 bytes since that's the size of an ICMP + IP packet header - the value you specify for ping is the payload size).

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

MTU SIZE...

Postby mcit » Sep 20 06 9:14 am

I cannot find the adapter properties at all. This is a wingate 5.2 installation btw.

When I ping as you said I receive:

Packet needs to be fragmented but DF set. [x4]

...and 100% loss. Nothing returns.
mcit
 
Posts: 32
Joined: Jun 24 04 2:53 pm
Location: Australia

Re: MTU SIZE...

Postby Nev » Sep 20 06 10:47 pm

mcit wrote:I cannot find the adapter properties at all. This is a wingate 5.2 installation btw.

When I ping as you said I receive:

Packet needs to be fragmented but DF set. [x4]

...and 100% loss. Nothing returns.


Hi,

Your licence will still work for V6.1.4 and it's well worth the upgrade to allow access to the MTU adjustment [and many other features], has worked for me in the past.
--
Nev.
Nev
WinGate Guru
 
Posts: 861
Joined: Sep 22 03 11:35 pm
Location: Mudgee ~ NSW ~ Australia

Postby adrien » Sep 20 06 11:42 pm

OK, so you are on a reduced MTU

You can set the adapter MTU in your OS to get around that.

You can find the MTU value by reducing that value of 1472 until the ping works. Add 28 to the number you have and that's your effective MTU.

May also pay to ping something on your ISP instead of smtp.qbik.com

To set an adapter MTU, can use apps like DrTCP.

Cheers

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

WINGATE PROXY...

Postby mcit » Sep 23 06 1:25 am

Anotehr interesting thing I have found. If I configure the clients to use a proxy instead of using NAT, all seems to work normally. Does this still mean it is an MTU issue?
mcit
 
Posts: 32
Joined: Jun 24 04 2:53 pm
Location: Australia

Postby ChrisH » Sep 23 06 2:41 am

How many NIC's on the WG server?
Chris H.
ChrisH
WinGate Master
 
Posts: 388
Joined: Sep 13 03 1:38 am
Location: Canada

SERVER NIC...

Postby mcit » Sep 24 06 8:29 pm

Single NIC on the server. Links straight into switch as does the ADSL modem
mcit
 
Posts: 32
Joined: Jun 24 04 2:53 pm
Location: Australia

Postby ChrisH » Sep 25 06 6:16 am

Could you draw us a block diagram of this setup please? Some of us are a little slower on the uptake than others.
Chris H.
ChrisH
WinGate Master
 
Posts: 388
Joined: Sep 13 03 1:38 am
Location: Canada

Postby adrien » Sep 25 06 3:39 pm

With a proxy connection, the upstream connection is made by the server machine, normally the OS takes care of MTU issues, since if it's a dialup type connection then the OS knows the smaller MTU.

You could try reducing the MTU on a client, but I think your best bet would be to upgrade - we did a lot of work on MTU with version 6.

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

UPGRADE...

Postby mcit » Oct 01 06 4:58 pm

I have upgraded to the current version and everything seems to be working fine now. Thanks.
mcit
 
Posts: 32
Joined: Jun 24 04 2:53 pm
Location: Australia


Return to WinGate

Who is online

Users browsing this forum: No registered users and 4 guests

cron