Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old April 20th, 2005   #1
ernestoongaro
5 Cups of Ubuntu
 
ernestoongaro's Avatar
 
Join Date: Nov 2004
Location: TeXas
Beans: 14
Send a message via AIM to ernestoongaro Send a message via MSN to ernestoongaro
Arrow HOWTO: PPTP GUI (Connecting to a Windows VPN)


This is my first attempt at a how-to, please let me know your results.
My school, SHSU, uses a Windows based VPN to allow unrestricted access to the wireless network. I, like many others like a nice GUI to assist in such configurations. The client is a proggie written by Quozl, called pptpconfig.

Here is how to go about getting it:

Open up a terminal and type:
Code:
sudo gedit /etc/apt/sources.list
Add the line
to the bottom of the list, save, close and go back to the terminal and type:

Code:
sudo apt-get update
sudo apt-get install pptpconfig
killall gnome-panel
It creates some Gnome menus, but it is unorganized and not run as sudo. Edit your menus by following this simple tutorial - Gnome Menu Editor
Delete the entry it created and make a new one under Applications>Internet or wherever and using the command gksudo pptpconfig
Good Luck!

Last edited by ernestoongaro; April 22nd, 2005 at 11:35 PM..
ernestoongaro is offline   Reply With Quote
Old March 3rd, 2006   #2
tritium3
5 Cups of Ubuntu
 
Join Date: Mar 2006
Beans: 21
Re: HOWTO: PPTP GUI (Connecting to a Windows VPN)

The following explains both pptp-linux and pptpconfig, for Breezy (Ubuntu 5.10):
http://pptpclient.sourceforge.net/howto-ubuntu.phtml
tritium3 is offline   Reply With Quote
Old August 30th, 2006   #3
jim.guenzel
First Cup of Ubuntu
 
Join Date: Aug 2006
Beans: 5
Re: HOWTO: PPTP GUI (Connecting to a Windows VPN)

I followed the directions by ernestoongaro and it worked correctly the first time! Thank you!
jim.guenzel is offline   Reply With Quote
Old September 5th, 2006   #4
fratiijderi
First Cup of Ubuntu
 
Join Date: Sep 2006
Beans: 1
Re: HOWTO: PPTP GUI (Connecting to a Windows VPN)

I have tried and it'w works perfectly.

05.09.2006
fratiijderi is offline   Reply With Quote
Old September 5th, 2006   #5
Geoff2077
5 Cups of Ubuntu
 
Join Date: Jul 2006
Location: Sydney
Beans: 30
Ubuntu 6.10 Edgy
Re: HOWTO: PPTP GUI (Connecting to a Windows VPN)

What works perfectly first time - presumeably the connection to your windows server.

Can you explain how you access the server after connection please. In my case, I connect perfectly too, but I am unable as yet to open the folders on the server.

I am interested to learn how you access the server after connection - maybe this will throw some light on my 4 week old problem,

Cheers
Geoff
Geoff2077 is offline   Reply With Quote
Old September 21st, 2006   #6
Johnathon
Just Give Me the Beans!
 
Join Date: Jul 2006
Location: Surrey, UK
Beans: 57
Ubuntu 8.04 Hardy Heron
Re: HOWTO: PPTP GUI (Connecting to a Windows VPN)

Try clicking on Places, "Connect to server", Choose windows share, and enter the details. HTH..
Johnathon is offline   Reply With Quote
Old September 21st, 2006   #7
Geoff2077
5 Cups of Ubuntu
 
Join Date: Jul 2006
Location: Sydney
Beans: 30
Ubuntu 6.10 Edgy
Re: HOWTO: PPTP GUI (Connecting to a Windows VPN)

Thanks for the follow up. yes I eventually worked it out.
To mount the folder on the remote server:
Places/Connect to Server
Service type: windows share
Server (url): 192.168.16.2 (no slashes etc - just the number address)
Folder: Company (or whatever the shared folder is on the server)
Username: fnerk
DomainName: XXXX (not needed I think)
Name for Connection: XXXVPN (not important)
then click on Connect.
Geoff2077 is offline   Reply With Quote
Old October 1st, 2006   #8
mgmiller
Dark Roasted Ubuntu
 
mgmiller's Avatar
 
Join Date: Nov 2005
Location: New York, USA
Beans: 1,106
Ubuntu 9.10 Karmic Koala
Re: HOWTO: PPTP GUI (Connecting to a Windows VPN)

This was exactly what I was looking for!

One last tweak. After you have opened your remote and are displaying it in nautilus, add it to the nautilus bookmarks. This way, after you open the VPN with pptpconfig, all you have to do is go to Places and click on your bookmark. You can edit the bookmark name to call it whatever you want after you save it by clicking in nautilus bookmarks, edit bookmarks. Notice all this is in nautilus, not firefox. Thanks again. This was an annoyance for me for my work computer that is finally resolved.
__________________
Using Ubuntu since Warty Warthog (4.10)
32 bit Ubuntu upgraded from 5.04>5.10>6.06>6.10>7.04>7.10>8.04>8.10>9.04>9.10
Starting over with a clean install of 64 bit 9.10
mgmiller is offline   Reply With Quote
Old November 8th, 2006   #9
etank
Ubuntu Member
 
etank's Avatar
 
Join Date: Feb 2006
Location: Kentucky
Beans: 416
Ubuntu 9.10 Karmic Koala
Re: HOWTO: PPTP GUI (Connecting to a Windows VPN)

Has anyone got this working correctly on Edgy? I know that I had it working in Dapper but I have been trying for an hour or so on Edgy and it seems to be a no go.
__________________
Kentucky LoCo Team Links: Wiki | Forum | Launchpad | Mailing List | #ubuntu-kentucky
etank is offline   Reply With Quote
Old November 8th, 2006   #10
johnnymac
Way Too Much Ubuntu
 
johnnymac's Avatar
 
Join Date: Jun 2005
Location: Texas
Beans: 276
The Feisty Fawn Testing
Send a message via ICQ to johnnymac
Re: HOWTO: PPTP GUI (Connecting to a Windows VPN)

The PPTPCONFIG utility will not work correctly on Edgy.

So, what you have to do is:

1. Use the pptpconfig to create your initial pptp configuration and make sure you choose client-to-lan.
2. Create an executable script in /etc/pptp/ip-up.d/ which contains the routing information you need.
3. Use the commands sudo pon <vpn-name> and sudo poff <vpn-name> to get it working.

Here's an example of the script you'd want...
Code:
#!/bin/sh
if [ "${PPP_IPPARAM}" = "tunnelname" ]; then
   route add -net  192.168.100.0 netmask 255.255.255.0 dev ppp0
   # ...etc...
fi
It's irritating I know....
__________________
---------------------------------------------------
Monkeys Monkeys Everywhere...
johnnymac is offline   Reply With Quote

Bookmarks

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

Forum Jump


All times are GMT -4. The time now is 10:29 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry