• February 24, 2025, 04:16:35 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DFL-210 please help with VPN - SOLVED  (Read 8643 times)

vax

  • Level 1 Member
  • *
  • Posts: 4
DFL-210 please help with VPN - SOLVED
« on: January 08, 2010, 02:41:32 AM »

Hello.

Probl.: I get VPN connect to provider but no internet access.
firmware 2.26.00

Details:

from my provider:
IP 10.0.xxx.xxx
Endpoint 10.0.0.1
Mask 255.255.255.0
GW 10.0.xxx.1
DNS1,DNS2, username and pass

Windows lan setup:
ip 192.168.1.2
mask 255.255.255.0
GW 192.168.1.1
DNS 1 87.224.xxx.xxx

DFL-210 Setup:

1. Go Interfaces->Ethernet and enter:

2. Go Interfaces->PPTP/L2TP clients and enter:

if i add to Remote Network: all-nets (no connection establ.)
3.Routing->main

4. Rules->IP rules:

4.1. Rules->IP rules->lan to wan and edit "Destination interface":

5.DNS and enter:

6. Interface Status:


But no access internet, no ping to internet... need help.

current log
« Last Edit: January 09, 2010, 09:38:59 AM by vax »
Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: DFL-210 please help with VPN
« Reply #1 on: January 08, 2010, 08:41:45 AM »

The network specified for your wan interface should be 10.0.xxx.0/24, not the subnet mask.

Then you need to change the remote network on your PPTP tunnel to all-nets.

I would also remove the GW specified for your WAN (since your PPTP endpoint is on the same network it can only serve to cause routing issues) or at the very least remove the "Automatically Add Route For Default GW" option on the advanced tab of your WAN interface.

At this point you will most likely be on-line, but even if you aren't another round like this one should light the way.
Logged
non progredi est regredi

vax

  • Level 1 Member
  • *
  • Posts: 4
Re: DFL-210 please help with VPN
« Reply #2 on: January 08, 2010, 10:27:18 AM »

But if change the remote network on PPTP tunnel to "all-nets", i've no VPN connection. They established only with "subnet mask".

i modified: Routing->main


and i can ping all internet from DFL



but still have no access to inet from PC (when dns_relay is enabled (on dfl210), i can ping all inet from PC without access to sites)

dfl log ->





how to modify Routing tables to get access from PC? HELP

« Last Edit: January 08, 2010, 10:32:46 AM by vax »
Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: DFL-210 please help with VPN
« Reply #3 on: January 08, 2010, 01:55:37 PM »

If you want to do this the right way ensure that your WAN interface route has a lower metric than your VPN and follow my previous instructions.

The DFL-210 does not do DNS relay, if you are on-line (even if it is the wrong way) and are just not resolving DNS, set a valid DNS server on your PCs directly or through their DHCP server and be on your way.
Logged
non progredi est regredi

vax

  • Level 1 Member
  • *
  • Posts: 4
Re: DFL-210 please help with VPN
« Reply #4 on: January 09, 2010, 09:38:07 AM »

Perhaps this helps to run VPN client on DFL-210 to someone else.

My provider was given me:
(examples)
Static IP 88.222.123.123
Subnet mask 255.255.255.0
GW 88.222.123.1
DNS1 88.222.222.1
DNS2 88.222.111.1
These details i can use directly in windows and use inet.

If i want to get VPN protected inet, a provider can autogenerate VPN details:
IP 10.0.123.125
Subnet mask 255.255.255.0 (the same as in my static ip)
GW 10.0.123.1
Endpoint 10.0.0.1

DFL 210 setup, see how to fill:







and all will work fine.

Thanks to Fatman

« Last Edit: January 09, 2010, 09:42:21 AM by vax »
Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: DFL-210 please help with VPN - SOLVED
« Reply #5 on: January 11, 2010, 08:48:07 AM »

your wan_gw should be 10.0.123.1.

remove all additional routes you have written and use just the routes provided automatically on your interfaces.

If you are still having problems please call the Business Class Support number for your country.
Logged
non progredi est regredi

vax

  • Level 1 Member
  • *
  • Posts: 4
Re: DFL-210 please help with VPN - SOLVED
« Reply #6 on: January 11, 2010, 10:52:29 AM »

your wan_gw should be 10.0.123.1.

remove all additional routes you have written and use just the routes provided automatically on your interfaces.

Maybe, but with that GW(10.0.123.1) - connection is not established.
And all work only with all additional routes i have written.

If the above settings for Internet access using VPN to use in windows, the GW 10.0.123.1 also automatically replaced by the static ip address 88.222.123.123 (in the details of the connection).
Logged