LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-28-2012, 11:06 PM   #16
arindom
Member
 
Registered: Nov 2006
Location: India
Distribution: Ubuntu 21.04
Posts: 168

Original Poster
Rep: Reputation: 30

Hi Larry,

I tried just now but I could not connect. I did the steps as mentioned in your guidelines but somehow it's now working here.

It may be that this is a specific issue.

Thanks for your help.
 
Old 01-29-2012, 01:33 AM   #17
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Ubuntu, Raspbian
Posts: 381

Rep: Reputation: 40
Quote:
Originally Posted by arindom View Post
Hi Larry,

I tried just now but I could not connect. I did the steps as mentioned in your guidelines but somehow it's now working here.

It may be that this is a specific issue.

Thanks for your help.
You're welcome, Arindom.

If you typed in the config files exactly, you either have a firewall blocking port 1723 or port 47 on the server machine, the client machine, or both machines.

Would you mind giving me the error message you get from the syslog (from both machines) when trying the connection?

I'm so confident in the ease and consistency of succes that I'll create a script that will actually configure the client and server if you will test it.

By the way, reviewing the configure files it appear that the first client config file (/etc/ppp/peers/myvpn) had performed a line wrap on the first line and made it appear as if there was a "VPN user" parameter as the first option. I fixed this and ensured marked the tables as no wrap.

If you post your error message(s) I'm sure I'll be able to discern the problem.

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames
 
Old 02-01-2012, 10:44 PM   #18
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Ubuntu, Raspbian
Posts: 381

Rep: Reputation: 40
Hi, Arindom. Just a quick note. I added a downloadable script to the page (http://faq.apollo3.com/ljames/ubuntu/vpn/) that will do everything for the user. I don't believe you could possibly go wrong using the script.

It should only take seconds to setup the server and the client.

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames
 
Old 02-01-2012, 11:49 PM   #19
arindom
Member
 
Registered: Nov 2006
Location: India
Distribution: Ubuntu 21.04
Posts: 168

Original Poster
Rep: Reputation: 30
Thanks Larry for the script. This should be easy.

I will let you know once I test this again.

Thanks again for your continued research on this matter.
 
Old 03-28-2012, 11:50 PM   #20
triluu
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Hi,

I am using Ubuntu 11, and I have same issue.
I changed configure in VPN connection and I can connect web while connecting to VPN server.

Step to do it:

1. In VPN client configuration screen, In IPV4 Settings tab, click to Routers... button
2. In Router screen,
Check to: Ignore automatically obtained routers
Check to: Use this connection only for resources on it network

3. connect VPN to testing.
 
Old 03-29-2012, 12:34 AM   #21
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Ubuntu, Raspbian
Posts: 381

Rep: Reputation: 40
Quote:
Originally Posted by triluu View Post
Hi,

I am using Ubuntu 11, and I have same issue.
I changed configure in VPN connection and I can connect web while connecting to VPN server.

Step to do it:

1. In VPN client configuration screen, In IPV4 Settings tab, click to Routers... button
2. In Router screen,
Check to: Ignore automatically obtained routers
Check to: Use this connection only for resources on it network

3. connect VPN to testing.
I never could get consistency with the gui VPN client configuration application. I don't have any problems with performing using the command line to setup and run VPN.

Take a look at the link I provided above and you shouldn't have any problems.

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames
 
Old 03-30-2012, 10:47 AM   #22
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 140

Rep: Reputation: 9
T3RM1NVT0R:
Why you complicate thing, which isn't complicated? He have connection to VPN, so why you try to fix this connection?

arindom:
check your routes
Code:
route
if this seam to take ages (happens sometimes), then use
Code:
route -n
Post whatever it would spit out, when VPN is ON. Maybe your default route is going by VPN instead by your local interface?
 
Old 07-02-2012, 05:16 AM   #23
kpsa
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
how to access to different VPN at the same time

Hello ,

i need to access at the same time to multiple VPN from my laptop like : my compagny VPN , VPN customer and Internet
is there any tool to do it please , thx u very much

my OS : is win XP SP3

KR
 
Old 07-02-2012, 10:33 AM   #24
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Ubuntu, Raspbian
Posts: 381

Rep: Reputation: 40
Quote:
Originally Posted by kpsa View Post
Hello ,

i need to access at the same time to multiple VPN from my laptop like : my compagny VPN , VPN customer and Internet
is there any tool to do it please , thx u very much

my OS : is win XP SP3

KR
This is built into Windows XP. Just use Windows XP VPN setup configuration:
Control Panel -> Network Connections -> New Connection Wizard -> (Tic) Connect to the network at my workplace -> Next -> (Tic) Virtual Private Network connection -> Next -> [Type in Computer Name -> Next -> (Tic) Do not dial -> Next -> [Type in ipaddress or host name of server] -> Next -> Finish -> (Configure the properties of the connection... click) Properties -> (Click the Networking tab] > (Select) TCP/IP -> Properties -> Advance -> (Uncheck) Use default gateway on the remote network -> OK -> OK -> OK
For windows, the key is to remove the check mark from the TCP/IP Network Properties to cancel using the remote computer's gateway. This way you continue to use your local computer's gateway. If you don't use your local computer's gateway you loose connection to the Internet.

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames
 
Old 07-02-2012, 11:04 AM   #25
kpsa
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
Hi James

Thx , but is not wroking i will give you the situation :

i'am connected thru wifi to my VPN compagny network using IPsec client , this say that i have internet and my intranet withh emails and applications , then i need to connect to another customer VPN withj cisco vpn or L2TP connection i perfomed the modification but i still cannot connect to the second customer VPN as i'am already conntect to my compagnu VPN with IPSEC

i know this tool SHREW VPN is for w7 but is not wrking for XP OS , hope that it's clear now

Thx Again
 
Old 07-02-2012, 01:43 PM   #26
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Ubuntu, Raspbian
Posts: 381

Rep: Reputation: 40
Quote:
Originally Posted by kpsa View Post
Hi James

Thx , but is not wroking i will give you the situation :

i'am connected thru wifi to my VPN compagny network using IPsec client , this say that i have internet and my intranet withh emails and applications , then i need to connect to another customer VPN withj cisco vpn or L2TP connection i perfomed the modification but i still cannot connect to the second customer VPN as i'am already conntect to my compagnu VPN with IPSEC

i know this tool SHREW VPN is for w7 but is not wrking for XP OS , hope that it's clear now

Thx Again
I'm not familiar with the SHREW VPN tool. Also, if you're using the method I describe, it won't come into the picture. The method I described is built into Windows. If you have another VPN application running, this might conflict with the Windows VPN program and might be the source of your problem.

If you use the step I described you'd have access to the provided VPN server, then do the same thing for the next server.

There is a test you can check. Before connecting to your VPN use a resource such as http://www.apollo3.com/tools and check your IP address before connecting VPN. After you connect VPN check your IP address again. It should be the same both times... is it?

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames
 
  


Reply

Tags
vpn



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN - is there a way to use VPN & normal connection at the same time? natv Linux - Networking 4 09-05-2007 08:48 AM
VPN connected, but can't browse samba shares Likeon Linux - Software 3 11-08-2006 03:02 PM
Connecting to server to browse the web and VPN depam Linux - Software 3 03-29-2006 06:35 AM
How do I browse files on a VPN connection? joekm Linux - Networking 1 11-28-2005 03:38 PM
PPTP VPN browse problem george100 Linux - Networking 0 08-05-2005 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration