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

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

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

 
Thread Tools Display Modes
Old November 16th, 2005   #1
endersshadow
Dipped in Ubuntu
 
endersshadow's Avatar
 
Join Date: Oct 2005
Location: Dallas
Beans: 616
Ubuntu 7.04 Feisty Fawn
This process has been made MUCH easier in Edgy and Feisty. I just never updated this...and I'm sorry. In order for legacy support, I'm leaving up Dapper/Breezy/Hoary instructions.

Feisty/Edgy x86

You will need NetworkManager installed:
Code:
sudo apt-get install network-manager-gnome network-manager-pptp
Then, a network icon will appear in your notification area. Select it, and then select VPN Connections > Configure VPN. Add your VPN to the list, and then in the terminal do the following:

Code:
sudo NetworkManager restart
Click the icon again, and go to VPN Connections and then select your VPN. Voila. You're connected!

Feisty/Edgy AMD64 (thanks go to nyvalbant)
Grab the AMD64 Packages from this page.

Convert and install them using this command:
Code:
sudo alien filename.rpm
sudo dpkg -i filename.deb
Next, install pptpconfig:
Code:
sudo apt-get install pptpconfig
You may not be able to connect using pptpconfig directly, but you can create your profile in it and connect using:
Code:
pon <profile name>
(give that a minute or so to connect; check ifconfig periodically for a ppp0 entry)

Finally, after you have a ppp0 network, you may need to fix your routing table using something like:
Code:
sudo route add -net 11.22.0.0 netmask 255.255.0.0 dev ppp0
(substitute 11.22.0.0 for your network)

Dapper/Breezy/Hoary
After much searching for how to connect to a plain old PPTP VPN, I finally figured out how to do it, and since there's no guide on here that doesn't relate to the Cisco client, I figured I'd post one. The source of this information is at the bottom of the post. Here goes:

1. First, you need to install the pptp-client for Linux. Open up the terminal and type in:

Code:
sudo apt-get install pptp-linux
2. Next, you will need to add a source to your sources.list file. Here's how.
Run this command.

Code:
sudo gedit /etc/apt/sources.list
When the window pops up (gedit), append the following lines to the end of the file:

Code:
# James Cameron's PPTP GUI packaging
deb http://quozl.netrek.org/pptp/pptpconfig ./
Save it and close gedit.

3. Run these commands in the terminal:

Code:
sudo apt-get update
sudo apt-get install pptpconfig
4. To run pptpconfig, simply use this command in the terminal:

Code:
sudo pptpconfig
**NOTE: You must run pptpconfig as root, otherwise, it will not work.

5. Enter in the info for your VPN to the GUI, click "Add," select the server you just added by clicking on it, and then hit "Start." Make sure that your options are set, as well. If you are unsure of what options your VPN needs, contact your system administrator.

For a more complete guide, check out this site:
http://pptpclient.sourceforge.net/ho....phtml#install

Last edited by endersshadow; July 7th, 2007 at 02:39 AM..
endersshadow is offline   Reply With Quote
Old November 19th, 2005   #2
WetWilly
Just Give Me the Beans!
 
WetWilly's Avatar
 
Join Date: Jun 2005
Location: Malmö, Sweden
Beans: 44
Ubuntu 6.06
Re: HOWTO: Connect to a Microsoft PPTP VPN

http://www.ubuntuforums.org/showthre...highlight=pptp
WetWilly is offline   Reply With Quote
Old November 19th, 2005   #3
arnieboy
Guest
 
Beans: n/a
Re: HOWTO: Connect to a Microsoft PPTP VPN

Quote:
Originally Posted by WetWilly
yes but thats for hoary.. and its a good thing that this has been ported to the breezy forums (even though the instructions are identical). good job.
  Reply With Quote
Old November 20th, 2005   #4
WetWilly
Just Give Me the Beans!
 
WetWilly's Avatar
 
Join Date: Jun 2005
Location: Malmö, Sweden
Beans: 44
Ubuntu 6.06
Re: HOWTO: Connect to a Microsoft PPTP VPN

Quote:
Originally Posted by arnieboy
yes but thats for hoary.. and its a good thing that this has been ported to the breezy forums (even though the instructions are identical). good job.

I wrote is cuz there is more info in that post e.g. How to start it without using terminal and make a shortcut using gksudo.
WetWilly is offline   Reply With Quote
Old November 27th, 2005   #5
jmooney
5 Cups of Ubuntu
 
Join Date: Sep 2005
Beans: 37
Re: HOWTO: Connect to a Microsoft PPTP VPN

OK, installed ptppconfig and it's telling me that I have successfully connected to my VPN network at work.

Now what? How do I browse this network? I've tried entering various addresses into Nautilus and Firefox but it isn't working. Assuming I have all the address and network names right, can't I just mount this as a network location? Say by selecting "Places/Connect to Server..."?

My VPN is running, how do I browse the remote network?

Thanks,

Joe
jmooney is offline   Reply With Quote
Old November 27th, 2005   #6
WetWilly
Just Give Me the Beans!
 
WetWilly's Avatar
 
Join Date: Jun 2005
Location: Malmö, Sweden
Beans: 44
Ubuntu 6.06
Re: HOWTO: Connect to a Microsoft PPTP VPN

Joe, under the routing tab I suggest that you use the "Client to LAN" Routing Style so only the necessary traffic go via the VPN.

Then there is the "Routes To Be Added Via Tunnel".

So click on "Edit Network Routes.." and add the network that u want to connect to using the tunnel.

For example if its a standard 192.168.1. net then u write

Network: 192.168.1.0/24
Name: Whatever

Then u press update and u are good to go.
__________________
Linux DC++ build from CVS
WetWilly is offline   Reply With Quote
Old November 27th, 2005   #7
jmooney
5 Cups of Ubuntu
 
Join Date: Sep 2005
Beans: 37
Re: HOWTO: Connect to a Microsoft PPTP VPN

Quote:
Originally Posted by WetWilly
Joe, under the routing tab I suggest that you use the "Client to LAN" Routing Style so only the necessary traffic go via the VPN.

Then there is the "Routes To Be Added Via Tunnel".

So click on "Edit Network Routes.." and add the network that u want to connect to using the tunnel.

For example if its a standard 192.168.1. net then u write

Network: 192.168.1.0/24
Name: Whatever

Then u press update and u are good to go.

OK, I've done that, I still have no idea how to browse files on that network.

I've got in working in windowsXP. For that OS, under START-RUN... I type in a network location {timcont09.timco.aero}, once I do that, it asks for a username and password, then Windows explorer appears with all the files and folders I was looking for.

What is the equivalent for Ubuntu? How do I do that using Nautilus, or Firefox, of gftp, or whatever?


Thanks,

Joe
jmooney is offline   Reply With Quote
Old November 28th, 2005   #8
endersshadow
Dipped in Ubuntu
 
endersshadow's Avatar
 
Join Date: Oct 2005
Location: Dallas
Beans: 616
Ubuntu 7.04 Feisty Fawn
Re: HOWTO: Connect to a Microsoft PPTP VPN

You're connected. Have you tried just opening up Firefox? PPTP has a username and password field in it where you specify the server.
endersshadow is offline   Reply With Quote
Old November 28th, 2005   #9
jmooney
5 Cups of Ubuntu
 
Join Date: Sep 2005
Beans: 37
Re: HOWTO: Connect to a Microsoft PPTP VPN

Quote:
Originally Posted by endersshadow
You're connected. Have you tried just opening up Firefox? PPTP has a username and password field in it where you specify the server.
Yes, I tried entering the vpn address {vpn2.timco.aero}, the DNS numbers I got from the Debug window of PPTPConfig, the actual server address {timcont09.timco.aero}, I've also tried {vpn2.timco.aero/timcont09.timco.aero} The closest I get to a hit is something like a "Firewall - Forbidden" message when I enter one of the DNS numbers.

Has anybody here successfully set up a VPN tunnel to thier office and actually viewed files on their work network? Could one of you explain how you did it?

If it helps, I also have the Firestarter firewall program installed. It originally blocked the connection until I allowed traffic from the "GNS" address that the work network was trying to use.

I can't believe there is not documentation on this. Why provide directions on how to set up a VPN tunnel and not provide directions on how to browse the network on the other side?
jmooney is offline   Reply With Quote
Old November 28th, 2005   #10
reuben
Gee! These Aren't Roasted!
 
Join Date: Apr 2005
Beans: 199
Re: HOWTO: Connect to a Microsoft PPTP VPN

If anybody has problems connecting, and are running Firestarter, try running GuardDog instead. Open PPTP and VPN in the internet zone.
reuben 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 11:06 AM.


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