D-Link Forums

The Graveyard - Products No Longer Supported => Routers / COVR => DIR-645 => Topic started by: tempo22 on September 03, 2013, 01:30:35 AM

Title: VPN disconnection
Post by: tempo22 on September 03, 2013, 01:30:35 AM
Hi everyone,

i recently got a new ISP with modem/router. I setup this in bridge mode and got a D-Link 645 behind it as router.

It not working bad but when i try to connect to my work VPN, the vpn connection timeout after a few minutes ( like 2-3minutes)

I tried many solution i could find on the net but none worked :(

Here is some informations :

- I'm using the latest firmware available : 1.04 Fri 14 Jun 2013
- The VPN connection is stable if i connect my computer directly to my modem

If anyone could help me to debug this it would be nice
Title: Re: VPN disconnection
Post by: FurryNutz on September 03, 2013, 07:42:36 AM
Welcome! (http://forums.dlink.com/index.php?topic=41537.0)

Internet Service Provider and Modem Configurations

Router and Wired Configurations
Some things to try: - Log into the routers web page at 192.168.0.1. Use IE, Opera or FF to manage the router.

Title: Re: VPN disconnection
Post by: tempo22 on September 03, 2013, 03:11:31 PM
Hi and thanks for your message :)




I checked every point and still i'm getting those disconnections after 2 minutes :(

I'm available on teamviewer for any help
Title: Re: VPN disconnection
Post by: tempo22 on September 04, 2013, 12:17:44 AM
my bug is pretty similar to what Celsius had in this topic :

http://forums.dlink.com/index.php?topic=46216.0
Title: Re: VPN disconnection
Post by: FurryNutz on September 04, 2013, 07:38:59 AM
If this is your ISP modem, this is probably a Gateway modem:
http://www.netgear.com/service-provider/products/routers-and-gateways/cable-gateways/CG3700EMR.aspx# (http://www.netgear.com/service-provider/products/routers-and-gateways/cable-gateways/CG3700EMR.aspx#)

Did you disable all ALGs accept for IPSEC and test the VPN?
Is DNS Relay ON or OFF?
Title: Re: VPN disconnection
Post by: tempo22 on September 09, 2013, 12:12:27 AM
Hi,

sorry for delay.

The modem is correctly bridged, and i have checked the MTU and 1500 is fine and the dns relay is enabled

I really thinks it has to do with a time value somewhere because the connection drop always between 1min40 and 2min

Do you know where i can find a detailled log of what happen on the router ?
Title: Re: VPN disconnection
Post by: tempo22 on September 09, 2013, 06:18:56 AM
I may have got it fixed, i still don't know how exactly, in the end i tryed several fw, none worked.

As last testing attempt, i did used my mobile as a usb - wifi router to connect my computer to the router in wifi and it worked well.

Then i tryed to plug my computer in the modem directly ( it was behind a small switch ) and it worked aswell so i tought the switch was faulty but when i plugged my computer back to the switch it was working!

if u don't have news from me in the next days that mean things are fixed but sadly i don't know how.

Title: Re: VPN disconnection
Post by: FurryNutz on September 09, 2013, 07:16:26 AM
Look in the logs under Status/Logs.

So what FW are you on right now? What versions did you try?

How did you use your mobile as a USB?  ??? Can you explain a bit further? We would like to know.
Title: Re: VPN disconnection
Post by: tempo22 on September 09, 2013, 07:49:16 AM
Well, with my mobile ( galaxy s3 ) i have the option to use it as usb modem when it's pluged into the computer :
(http://rootgalaxys3iii.com/wp-content/uploads/2012/07/sdww_thumb.jpg)

For the fw, i'm now back on the latest after checking if it was working on all ( 1.01, 1.02, 1.03, 1.04 )

I still don't know what change from initial testing but the vpn keep working since.
Title: Re: VPN disconnection
Post by: FurryNutz on September 09, 2013, 08:03:21 AM
So you are VPN'g thru your cell phone or the 645? This seems a bit confusing to me now.

ISP Modem>DIR-645>WiFI to Cell Phone>USB connection to PC?
Title: Re: VPN disconnection
Post by: tempo22 on September 09, 2013, 08:18:24 AM
For testing purpose only, i don't know what happenned but it worked.

Here is what i did step by step :

- Disable network adapter
- Plugin cellphone as usb modem
- Try vpn trought 3g network -> vpn work fine
- Enable wifi of my cell phone to get my cell phone connected to my router internet -> vpn work fine ( so at that state is was like u said ISP > DIR-645->cellphone > pc )
- Remove my phone from the pc, plug my computer directly into the router ( my pc was behind a little switch ) -> vpn work
- Plug my pc back to the switch and the switch to the router -> vpn work.

I don't know what magic came into action but it's now working without vpn drop since 2 hours.
Title: Re: VPN disconnection
Post by: FurryNutz on September 09, 2013, 08:31:22 AM
Wow thats crazy.

So if you remove the little switch and plug the PC directly into the back of the 645 router, does it still work then?
Title: Re: VPN disconnection
Post by: FurryNutz on September 09, 2013, 01:13:30 PM
Can you provide us with some client VPN server information if possible? What brand or kind of VPN you were trying to use or connect too? This would be very helpful in D-Links review of this issue.

Please let us know.
Title: Re: VPN disconnection
Post by: tempo22 on September 10, 2013, 09:23:49 AM
Talked too fast, yesterday it was working. Today it isn't anymore.

If u want to review this over teamviewer u can send me a pm
Title: Re: VPN disconnection
Post by: FurryNutz on September 13, 2013, 07:12:41 AM
Any chance you can get the remote side of the VPN information? D-Link is looking into this and needs any more information that you can get from the remote VPN if possible. So far there hasn't been any issues from what they say with this. Also see if you can check the remote side, ask an admin to check connection logs or see if they can provide any help on this.

Have you tried to disable DNS relay and manually enter in DNS addresses under Setup/Internet/Manual?
Title: Re: VPN disconnection
Post by: tempo22 on September 13, 2013, 07:15:44 AM
yes, i tried that and since last 2 days it seem to be ok
Title: Re: VPN disconnection
Post by: FurryNutz on September 13, 2013, 07:20:36 AM
So for the last two days, how is everything configured now? Thru ISP modem using 645 and DNS relay off? Any other configurations you made on the router?
Title: Re: VPN disconnection
Post by: FurryNutz on October 07, 2013, 08:56:17 AM
Bump and any status on this?  ???
Title: Re: VPN disconnection
Post by: tempo22 on October 09, 2013, 12:34:51 AM
Hi, sorry i was a few week out for holidays.

I tried again this morning and i got no luck. VPN disconnect after 2-3 minutes, i still didn't found what make it work.
Title: Re: VPN disconnection
Post by: FurryNutz on October 09, 2013, 10:33:10 AM
Any chance you can get the remote side of the VPN information? D-Link is looking into this and needs any more information that you can get from the remote VPN if possible. So far there hasn't been any issues from what they say with this. Also see if you can check the remote side, ask an admin to check connection logs or see if they can provide any help on this.

I recommend that you have your ISP check the cabling going to the ISP modem, check signal levels going to the ISP modem. Check for t.v. line splitters and remove them as they can introduce noise on the line and lower the signal going to the ISP modem. Connecting to the ISP modem could result in a false positive as the signal to the modem could be just enough to that point then adding on a router, could see problems. The router operation is dependent upon getting good data flow from the ISP modem and the modem is dependent upon getting good signal from the ISP Service. Seems that if it does work sometimes then doesn't, could be an issue else where and not with the router.


Title: Re: VPN disconnection
Post by: FurryNutz on October 21, 2013, 11:51:53 AM
Also can you test something out? Go to Advanced/Firewall/ALG section at the bottom. Disable IPSec (VPN) check mark. Save settings and reboot the router from the Tools/System menu. Re-test your VPN...

Let us know...