Howto setup Microsoft VPN with gpptp (4.12 - 4.31) + (5.xx)

How to do things, solutions, recipes, tutorials
Message
Author
jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

#31 Post by jafadmin »

I Have a New Puppy wrote:jafa, once you fix PL's issue, would the correct command then be:
route add -net 192.168.0.0 netmask 255.255.255.0 ppp0

Ken
That route will give you access to: 192.168.0.1 thru 192.168.0.254 (254 addresses)

route add -net 192.168.0.0 netmask 255.255.0.0 ppp0

will give you access to: 192.168.0.1 thru 192.168.254.254 (65,533 addresses)

I Have a New Puppy
Posts: 7
Joined: Fri 05 Jun 2009, 17:11

#32 Post by I Have a New Puppy »

Understood finally about the whole subnet thang, thanks.

To access addresses 192.168.2.1 through 192.168.2.254
(which would cover my VPN's DHCP IPs) would be:

route add -net 192.168.2.0 netmask 255.255.255.0 ppp0


_________
Where any of my M$ route print data helpful?
Do you want the whole table?

Can at least browser traffic be forced through VPN via proxy settings?

Thanks,
Ken

jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

#33 Post by jafadmin »

I Have a New Puppy wrote:
Where any of my M$ route print data helpful?
Do you want the whole table?

Can at least browser traffic be forced through VPN via proxy settings?

Thanks,
Ken
1. No, I don't need to see any more route tables.

2. If there is a proxy server on the subnet you are connecting to over VPN, then you can set that in your browser and get to the web.

jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

#34 Post by jafadmin »

jafadmin wrote:One important note.

I have not been able to assign a default route to a pptp vpn tunnel in the puppy implementation of ppp.

If your network admins assume you can set the default route to the VPN tunnel, there will be issues. You will need them to tell you the networks inside their company that you need to reach and set the routes to them after connecting.

I'm working on trying to find out what the underlying problem is with this.
I have been testing Barry's latest version of puppy (Woof Alpha 9) and the problem with the default route seems to be gone in that version. As more info becomes available we'll let you know.

I Have a New Puppy
Posts: 7
Joined: Fri 05 Jun 2009, 17:11

#35 Post by I Have a New Puppy »

What's the latest on all this, please?
Does the newer Puppy VPN work?
Does the code have the answer to fix 4.21, or must I install the new Puppy?

Thanks!

jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

#36 Post by jafadmin »

This version of gpptp works fine except that you cannot assign the default route through the vpn. This appears to be a problem with all 4.xx puppy versions. Puppy versions based on "Jaunty" don't have this problem. If you want to be able to set the default route through your vpn then I recommend using one of the jaunty based puppys.

Other than that one difference, this enhanced version of gpptp will work with either.

The inability to set a default route through a vpn has nothing to do with the gpptp app. It's a limitation of the "ppp" and "route" utilities in the standard puppy kernels.

I hope this clears it up a little ...

jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

#37 Post by jafadmin »

I have compiled a new version of gpptp for puppy 5.28. It's available in my top post.

VPN on the lucid kernel is much smoother and you don't need to worry about the route assignments as much. It will automatically route all traffic (default route) throuth the VPN connection.

You can start the gui and connect, then kill the gui. When you restart it, it will know you have an active VPN session already running, and offer you a button to disconnect. When you disconnect via the gui it fixes up your routes and DNS.

Good Luck!

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#38 Post by disciple »

Can you please provide the source?
Thanks.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply