Networking Forums

Networking Forums > Computer Networking > Windows Networking > VPN connection

Reply
Thread Tools Display Modes

VPN connection

 
 
Peter Herijgers
Guest
Posts: n/a

 
      12-29-2007, 02:09 PM
I have the following:

One ADSL modem connected to one of the LAN ports of the server.
DHCP of the ADSL modem assigns address 10.0.0.154 to the lan port.
This lan port will be used to connect users to the internet.

Ethernet adapter GAC:
Connection-specific DNS Suffix . : lan
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.0.0.154
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 192.168.1.254
DNS Servers . . . . . . . . . . . : 192.168.0.1

The other lan port on the server is connected to a router.
All the computers in the office are connected to this router.
The server assigns IP addresses to the connected computers by DHCP.
Starting from 192.168.0.10 to 192.168.0.255
The server has IP address 192.168.0.1

Ethernet adapter LAC:
Connection-specific DNS Suffix . :
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 192.168.0.1

I want to test a VPN connection so I connect one laptop to the ADSL modem.
The ADSL modem assignes IP address 10.0.0.153 to the laptop.

To test the VPN connection I created a new connection on the laptop.
Entered the IP address to with I want to connect. Using the IP address on
which the server can be accessed by internet like 82.95.xxx.xxx.
Users must login with username, password and domain.
Security is standard.
unchecked the 'default gateway' for the vpn connection.

When I connect to the server the laptop gets an IP address from the server
like 10.0.0.155, the server has IP address 10.0.0.156.

PPP adapter RAS Server (Dial In) Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.0.0.156
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :

I cannot ping 10.0.0.155 and 10.0.0.156 on the laptop.
If I want to access the network the connection is very slow.
Sometime it is not possible to create a connection between the laptop and
the server. The server cannot be found or is not responding.
VPN port 1701 and 1723 are open on both the server and ADSL modem.

Here are the settings from the laptop:

Ethernet-adapter LAN-connection:
Connection-specific DNS Suffix . : lan
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP-address. . . . . . . . . . . . . : 10.0.0.153
Subnetmasker. . . . . . . . . . . : 255.255.255.0
Standardgateway. . . . . . . . . :
DHCP-server . . . . . . . . . . . : 192.168.1.254
DNS-servers . . . . . . . . . . . : 192.168.1.254

PPP-adapter server:
WAN (PPP/SLIP) Interface
DHCP Enabled:. . . . . . . . : no
IP-address. . . . . . . . . . . . . : 10.0.0.155
Subnetmasker. . . . . . . . . . . : 255.255.255.255
Standardgateway. . . . . . . . . :
DNS-servers . . . . . . . . . . . : 192.168.0.1

Is this the correct methode to establish a VPN connection between a server
and a laptop?
How can I speed this up?
Is this methode save to use on the internet?
Any good books to read about VPN?

Thanks in advance.

 
Reply With Quote
 
 
 
 
Robert L. \(MS-MVP\)
Guest
Posts: n/a

 
      12-29-2007, 04:23 PM
We have many issues with this configuration.

1. The VPN client and VPN are using the same IP range.

Both VPN sites are in the same IP rangeA: You will not be able to do this
with a VPN connection if both subnets are using the same IP subnet. What you
are setting up is a LAN to LAN (also called ...
www.chicagotech.net/Q&A/vpn20.htm

2. It is better to use static IP on the server.

3. It is better to use windows server as DHCp server instead of
router. And why the DHCP server IP range is different from the LAN IP range.

4. I don't the default gateway.


--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com


"Peter Herijgers" <(E-Mail Removed)> wrote in
message news:61336605-E68D-4C00-8871-(E-Mail Removed)...
>I have the following:
>
> One ADSL modem connected to one of the LAN ports of the server.
> DHCP of the ADSL modem assigns address 10.0.0.154 to the lan port.
> This lan port will be used to connect users to the internet.
>
> Ethernet adapter GAC:
> Connection-specific DNS Suffix . : lan
> DHCP Enabled. . . . . . . . . . . : Yes
> Autoconfiguration Enabled . . . . : Yes
> IP Address. . . . . . . . . . . . : 10.0.0.154
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . :
> DHCP Server . . . . . . . . . . . : 192.168.1.254
> DNS Servers . . . . . . . . . . . : 192.168.0.1
>
> The other lan port on the server is connected to a router.
> All the computers in the office are connected to this router.
> The server assigns IP addresses to the connected computers by DHCP.
> Starting from 192.168.0.10 to 192.168.0.255
> The server has IP address 192.168.0.1
>
> Ethernet adapter LAC:
> Connection-specific DNS Suffix . :
> DHCP Enabled. . . . . . . . . . . : No
> IP Address. . . . . . . . . . . . : 192.168.0.1
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . :
> DNS Servers . . . . . . . . . . . : 192.168.0.1
>
> I want to test a VPN connection so I connect one laptop to the ADSL modem.
> The ADSL modem assignes IP address 10.0.0.153 to the laptop.
>
> To test the VPN connection I created a new connection on the laptop.
> Entered the IP address to with I want to connect. Using the IP address on
> which the server can be accessed by internet like 82.95.xxx.xxx.
> Users must login with username, password and domain.
> Security is standard.
> unchecked the 'default gateway' for the vpn connection.
>
> When I connect to the server the laptop gets an IP address from the server
> like 10.0.0.155, the server has IP address 10.0.0.156.
>
> PPP adapter RAS Server (Dial In) Interface:
> Connection-specific DNS Suffix . :
> Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
> DHCP Enabled. . . . . . . . . . . : No
> IP Address. . . . . . . . . . . . : 10.0.0.156
> Subnet Mask . . . . . . . . . . . : 255.255.255.255
> Default Gateway . . . . . . . . . :
>
> I cannot ping 10.0.0.155 and 10.0.0.156 on the laptop.
> If I want to access the network the connection is very slow.
> Sometime it is not possible to create a connection between the laptop and
> the server. The server cannot be found or is not responding.
> VPN port 1701 and 1723 are open on both the server and ADSL modem.
>
> Here are the settings from the laptop:
>
> Ethernet-adapter LAN-connection:
> Connection-specific DNS Suffix . : lan
> DHCP Enabled. . . . . . . . . . . : Yes
> Autoconfiguration Enabled . . . . : Yes
> IP-address. . . . . . . . . . . . . : 10.0.0.153
> Subnetmasker. . . . . . . . . . . : 255.255.255.0
> Standardgateway. . . . . . . . . :
> DHCP-server . . . . . . . . . . . : 192.168.1.254
> DNS-servers . . . . . . . . . . . : 192.168.1.254
>
> PPP-adapter server:
> WAN (PPP/SLIP) Interface
> DHCP Enabled:. . . . . . . . : no
> IP-address. . . . . . . . . . . . . : 10.0.0.155
> Subnetmasker. . . . . . . . . . . : 255.255.255.255
> Standardgateway. . . . . . . . . :
> DNS-servers . . . . . . . . . . . : 192.168.0.1
>
> Is this the correct methode to establish a VPN connection between a server
> and a laptop?
> How can I speed this up?
> Is this methode save to use on the internet?
> Any good books to read about VPN?
>
> Thanks in advance.
>


 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      12-29-2007, 10:50 PM
The first thing that I would do is investigate whether your router is
capable of hosting a VPN connection. Using some other device on the LAN as a
VPN connction will cause all sorts of routing problems. Machines on the LAN
are set up to use this router as their default gateway, so they will not
route traffic to a VPN client through a different gateway without extra
routing on the LAN.

Can machines on your network access the Internet through the existing
router? If the router can't host VPN itself, I would look at running a VPN
server with one NIC on the LAN and forwarding VPN traffic from your router
to this server. The VPN client connects to the existing router, and you
don't have routing problems caused by multiple gateways.

"Peter Herijgers" <(E-Mail Removed)> wrote in
message news:61336605-E68D-4C00-8871-(E-Mail Removed)...
>I have the following:
>
> One ADSL modem connected to one of the LAN ports of the server.
> DHCP of the ADSL modem assigns address 10.0.0.154 to the lan port.
> This lan port will be used to connect users to the internet.
>
> Ethernet adapter GAC:
> Connection-specific DNS Suffix . : lan
> DHCP Enabled. . . . . . . . . . . : Yes
> Autoconfiguration Enabled . . . . : Yes
> IP Address. . . . . . . . . . . . : 10.0.0.154
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . :
> DHCP Server . . . . . . . . . . . : 192.168.1.254
> DNS Servers . . . . . . . . . . . : 192.168.0.1
>
> The other lan port on the server is connected to a router.
> All the computers in the office are connected to this router.
> The server assigns IP addresses to the connected computers by DHCP.
> Starting from 192.168.0.10 to 192.168.0.255
> The server has IP address 192.168.0.1
>
> Ethernet adapter LAC:
> Connection-specific DNS Suffix . :
> DHCP Enabled. . . . . . . . . . . : No
> IP Address. . . . . . . . . . . . : 192.168.0.1
> Subnet Mask . . . . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . . . . :
> DNS Servers . . . . . . . . . . . : 192.168.0.1
>
> I want to test a VPN connection so I connect one laptop to the ADSL modem.
> The ADSL modem assignes IP address 10.0.0.153 to the laptop.
>
> To test the VPN connection I created a new connection on the laptop.
> Entered the IP address to with I want to connect. Using the IP address on
> which the server can be accessed by internet like 82.95.xxx.xxx.
> Users must login with username, password and domain.
> Security is standard.
> unchecked the 'default gateway' for the vpn connection.
>
> When I connect to the server the laptop gets an IP address from the server
> like 10.0.0.155, the server has IP address 10.0.0.156.
>
> PPP adapter RAS Server (Dial In) Interface:
> Connection-specific DNS Suffix . :
> Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
> DHCP Enabled. . . . . . . . . . . : No
> IP Address. . . . . . . . . . . . : 10.0.0.156
> Subnet Mask . . . . . . . . . . . : 255.255.255.255
> Default Gateway . . . . . . . . . :
>
> I cannot ping 10.0.0.155 and 10.0.0.156 on the laptop.
> If I want to access the network the connection is very slow.
> Sometime it is not possible to create a connection between the laptop and
> the server. The server cannot be found or is not responding.
> VPN port 1701 and 1723 are open on both the server and ADSL modem.
>
> Here are the settings from the laptop:
>
> Ethernet-adapter LAN-connection:
> Connection-specific DNS Suffix . : lan
> DHCP Enabled. . . . . . . . . . . : Yes
> Autoconfiguration Enabled . . . . : Yes
> IP-address. . . . . . . . . . . . . : 10.0.0.153
> Subnetmasker. . . . . . . . . . . : 255.255.255.0
> Standardgateway. . . . . . . . . :
> DHCP-server . . . . . . . . . . . : 192.168.1.254
> DNS-servers . . . . . . . . . . . : 192.168.1.254
>
> PPP-adapter server:
> WAN (PPP/SLIP) Interface
> DHCP Enabled:. . . . . . . . : no
> IP-address. . . . . . . . . . . . . : 10.0.0.155
> Subnetmasker. . . . . . . . . . . : 255.255.255.255
> Standardgateway. . . . . . . . . :
> DNS-servers . . . . . . . . . . . : 192.168.0.1
>
> Is this the correct methode to establish a VPN connection between a server
> and a laptop?
> How can I speed this up?
> Is this methode save to use on the internet?
> Any good books to read about VPN?
>
> Thanks in advance.
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reject connection by machine name, accept connection by DNS alias Scott Bass Windows Networking 3 11-20-2008 04:11 PM
VPN Issue, connection unserviceable after initial connection succeeds astochlia Windows Networking 4 09-12-2006 05:49 AM
WRT54G wired connection versus wireless connection - what is different? Ook Wireless Internet 0 03-26-2005 03:04 PM
Belkin F5D 7630-4A keeps dropping connection BT broadband connection Chris MacNeil Home Networking 3 09-07-2004 02:03 PM
Re: how to enable Internet Connection Sharing (ICS) to share the dial-up connection Steve Winograd [MVP] Windows Networking 0 08-08-2003 07:27 AM



1 2 3 4 5 6 7 8 9 10 11