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 08-24-2020, 02:37 PM   #1
Roken
Member
 
Registered: Oct 2011
Location: Warrington, UK
Distribution: Arch local, Debian on VPS, several RPIs.
Posts: 300
Blog Entries: 1

Rep: Reputation: 55
Connecting to work VPN


Driving me nuts. Trying to connect to the work VPN using L2TP over IPSec with a pre-shared key, and whatever I try, it attempts to connect, and eventually times out.


Using Arch, and Network Manager. I've tried a couple of L2TP clients (swan, open) with the same result.


I must have tried every combination of settings for both L2TP and PPP.


I have instructions for both Windows and Mac clients, but unfortunately not for Linux, where we have a lot more options.


No errors that I can see, but just diddly squat watching the throbber for a while before it gives up.


Ideas?
 
Old 08-24-2020, 02:45 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Kind of one of those questions we may never be able to answer. I'd contact your work place IT for more information.
We don't know if your isp supports it.
Not sure if your modem is correctly configured.
Not sure if your distro is configured correctly.
Not sure if your key is correct and able to be used.

I'd boot up to windows and see if your instructions work.

An example of it may be here. https://20notes.net/linux/setup-l2tp...4-using-gnome/
 
Old 08-24-2020, 08:17 PM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,474
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Quote:
Originally Posted by Roken View Post
Using Arch, and Network Manager. I've tried a couple of L2TP clients (swan, open) with the same result.
This guy got it working in Slackware, and this should give you an idea of what is needed:

https://www.linuxquestions.org/quest...es-4175678022/

Do you have Networkmanager-l2tp, NetworkManager-pptp and xl2tpd installed? He uses strongswan. If you follow his recipe, it should work for you.

Alternatively, if you're friendly with the IT guy, you can set up a linux box running OpenVPN behind the firewall and get him to set up the port forward for you. You'll get a much better result... it's more secure and less flaky.
 
Old 08-24-2020, 08:21 PM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
+1 to contacting your employer’s IT department first. Do they even know you're using Linux?
Hacking about could be career-limiting otherwise.

Last edited by scasey; 08-25-2020 at 09:14 AM.
 
1 members found this post helpful.
Old 08-25-2020, 07:37 AM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
first step contact your company IT dept.
find out what client they are expecting you to use. Example is my company wants me to use the Citrix anyconnect. Well guess what, there is a Linux client for that. Once that was installed, I have zero issues connecting via VPN or direct into my VM.
 
1 members found this post helpful.
Old 08-25-2020, 01:27 PM   #6
Roken
Member
 
Registered: Oct 2011
Location: Warrington, UK
Distribution: Arch local, Debian on VPS, several RPIs.
Posts: 300

Original Poster
Blog Entries: 1

Rep: Reputation: 55
Apparently the IT guy is in the office on 4 Sept, so I'll take my laptop in and we can work through it together.

I'm fairly certain it's not a Citrix network (no mention of needing the citrix client, which has worked at a previous employer's). I suspect it's probably just one setting on the L2TP or PPP, but there are just too many combinations to experiment with and hope to randomly stumble across the right combination.

Thanks for the interest folks.

EDIT: Oh, and yes, they know I'm using Linux. Worst case is they will supply me with a laptop just for remote working.
 
  


Reply



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
PPTP VPN not working while at work. What other types of VPN should I try? Salzgablah Linux - Server 0 12-24-2013 11:48 PM
VPN Connection - Not able to browse other sites when connecting to VPN arindom Linux - Networking 25 07-02-2012 01:43 PM
MASQ VPN to VPN Router hakcenter Linux - Networking 0 06-26-2003 04:14 PM
Too VPN or not to VPN. gboutwel Linux - Security 4 03-28-2003 04:27 PM
Connect to Cisco VPN w/o Cisco VPN Client gboutwel Linux - Networking 4 02-07-2003 12:46 PM

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

All times are GMT -5. The time now is 02:11 AM.

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