Hot Downloads

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: PPTP

PPTP 11 years 11 months ago #16895

  • Bublitz
  • Bublitz's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 301
  • Karma: 2
  • Thank you received: 3
Is there anyway you get internet while connecting to a PPTP vpn. Ive setup PPTP on windows server and also opsnbsd, either one when you connect to the vpn you loose all other connectvity (IE you can't surf the web) is there a way around this?

Re: PPTP 11 years 11 months ago #16896

When you initiate a VPN it generally works on the lines of setting up an additional psuedo-NIC on your machine with it's own IP address, mask etc for the connection. Another thing it can do is to impose another default gateway; on the one I play with there's also a setting for "use default gateway on remote network". I suspect that's what's happening and why you're losing your other connectivity. Suggest you list your interfaces and routing table on your machine both with and without the VPN up and compare. The problem may well then become clear

Re: PPTP 11 years 11 months ago #16897

  • Chris
  • Chris's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1447
  • Karma: 8
  • Thank you received: 13
The Bishop has nailed this one :)

I won't analyse it any further, no need. All I can do is simply add a screenshot that shows where exactly you can remove the "use default gateway on remote network" option.

Re: PPTP 11 years 11 months ago #16921

  • Bublitz
  • Bublitz's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 301
  • Karma: 2
  • Thank you received: 3
Thanks guys I will try this.

*****************************************************
Ok if I dont use the remote gateway then the internet works but then I can't ping or see anything on the remote site(Which defeats the purpose of a vpn). If its checked the vpn works but I cannot web surf.

Is there something im missing to get the best of both worlds?

Here is some info I can post more info if needed.

Remote Gateway 192.168.11.1/24
Ip Given on VPN PPTP connect 192.168.12.1/32
local gateway 10.11.25.1/24

Re: PPTP 11 years 11 months ago #16924

  • Chris
  • Chris's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1447
  • Karma: 8
  • Thank you received: 13
From the sounds of things, it seems like the remote VPDN is not set up correctly or there's some configuration problem.

When you connect to the VPDN (Windows PPTP VPN), regardless of whether you have the "Use default gateway on remote network" option checked, the remote VPN server should pass down to your client all routes associated with the remote VPN network(s), which doesn't seem to be happening.

This is the reason you are unable to contact any remote VPN network when you remove the default gateway option in your VPN dialup properties.

In addition, when connecting to the VPN, your VPN IP address (192.168.12.1) is different to that of the remote server (192.168.11.1), and this means that if no routes are set in your VPN client upon connection, you won't be able to reach the 192.168.11.0 network.

This Bublitz looks like a pure remote VPN server (or router) configuration issue.

Here's what you can try to see if the above is correct:

- Remove the default gateway check from the TCP/IP properties
- Connect to the VPN
- Try pinging 192.168.11.1 - if no firewall policy is blocking you, you should be able to receive a ping response
- Add the following routes in your computer, using the MS-Dos prompt, substituting the <remote networks> with the network(s) your trying to access:

For example, if you're trying to access the 192.168.15.x and 192.168.44.x network via VPN:
c:\> route add 192.168.15.0 mask 255.255.255.0 192.168.11.1
c:\> route add 192.168.44.0 mask 255.255.255.0 192.168.11.1

Note: that you shouldn't need to add a route to reach the 192.168.11.x network since the router is connected directly to it.

As you can see, we are simply telling your computer that it can find the above networks via 192.168.11.1 (your remote vpn server).

Please give it a try and let us know of the results!

Cheers,

Re: PPTP 11 years 11 months ago #16928

  • Smurf
  • Smurf's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1390
  • Karma: 1
  • Thank you received: 0
Great advice Chris,

If that all fails, can you please do what TheBishop said in his first post and post the IPConfig and Routes with and without the VPN ?

Cheers
  • Page:
  • 1
  • 2
Time to create page: 0.144 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup