Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
55 views

VPN L2TP/ipsec ubuntu client problems | Best practice settings against watchguard firewall

I have been trying for a long time to solve the following problem. L2PT/IPSEC VPN works fine with windows and mac clients. Watchguard firewall does not have documents for settings this right way for ...
Vni's user avatar
  • 1
0 votes
2 answers
197 views

L2TP IPSEC not working after upgrade from Ubuntu 20 to 22

I had configured on Ubuntu20 which was working fine. Recently I upgraded the system to Ubuntu 22.04 but now I am unable to connect to the office vpn. I am attaching the logs journalctl -xe May 03 12:...
hellgod07's user avatar
0 votes
0 answers
195 views

Connection to ipsec vpn on asus router

I have an asus router that has a vpn server based on ipsec I have all the data I need except the certificate file. Asus provides downloads of the cert for Windows or android for the certificate but no ...
lostinlinux's user avatar
0 votes
0 answers
244 views

Ubuntu 22.04 VPN issues (L2TP/IPSec)

I have a couple of machines running Ubuntu 22.04.3 LTS. I'm observing the same issue on all machines: I can establish a connection to my VPN server. I can ping machines, access internal websites, ...
nerdit's user avatar
  • 9
1 vote
1 answer
1k views

Connecting to IPSec IKEv2 VPN from CLI

I have set up an IPSec VPN on an AWS ec2 instance following this https://github.com/hwdsl2/setup-ipsec-vpn. The VPN works fine I am able to connect to it from my Phone and Laptops ( Android, Windows, ...
Rohit's user avatar
  • 121
1 vote
1 answer
4k views

Problem with L2TP IPSec VPN from ubuntu 22.04 [duplicate]

I have to connect to a VPN L2TP/Ipsec Under Ubuntu 18.04, I used: IPsec Tunnel to L2TP Server - yes Phase1 = 3des-sha1-modp1024! Phase2 = 3des-sha1! Force UDP encapsulation I have installed Ubuntu 22....
pinguino's user avatar
0 votes
0 answers
247 views

How i can connect to IKEv2 vpn server on server Ubuntu?

Now I use the charon-cmd utility for these purposes like this: sudo charon-cmd --host host.domain --identity host.domain --profile ikev2-eap --eap-identity my-identity But maybe there are some other ...
Ningaro's user avatar
  • 101
0 votes
1 answer
553 views

Ipsec VPN connection with local id

In forticlient (using Windows) there is an Ipsec option and you can fill in local id, but linux doesn`t have Ipsec option in forticlient. Is there an alternative to use ipsec via linux and so I could ...
userinho's user avatar
2 votes
1 answer
85 views

apt source pulling old packages

I am trying to pull the source files from an apt repo sudo apt source strongswan This pulls down version 5.6.2. However on the ubuntu 20.04 focal page, it shows 5.8.2-1. Why is this version not being ...
Dave's user avatar
  • 213
1 vote
1 answer
4k views

nmcli not showing connection

I imported L2TP/IPsec VPN connection configuration file from Ubuntu mate 20.04 /etc/NetworkManager/system-connections/ to Ubuntu server 20.04 Next, on the Ubuntu server 20.04 PC, I check the nmcli ...
epx's user avatar
  • 31
1 vote
1 answer
2k views

strongMan: /var/run/charon.vici doesn't exist

I was trying to use strongMan to configure strongswan vpn connection. However I encountered the following error: /var/run/charon.vici doesn't exist I have installed strongswan and strongswan-charon ...
wcyat's user avatar
  • 11
0 votes
1 answer
6k views

Install and Configure StrongSwan Client on Ubuntu

I am having trouble trying to setup StrongSwan Client on Ubuntu. Here are the steps I follow: Export user's certificate: openssl pkcs12 -in [email protected] -out username-cert.pem -...
Iraklis Bekiaris's user avatar
0 votes
1 answer
951 views

l2tp/IPsec vpn: Cannot diable PFS

I am using Ubuntu 21.04 and I wanted to connect to a VPN. I have installed the network-manager network-manager-l2tp network-manager-gnome. I have another laptop using Fedora and installed the same ...
Felix Yeung's user avatar
3 votes
1 answer
2k views

Running ipsec start failed on Ubuntu 20.04 in WSL2

I set up a VPN connection to my office's network using StrongSwan. This is on Ubuntu 20.04, running on WSL2 with Windows 10 host. The Steps The following is the complete steps that I did. Install: ...
Iqbal Farabi's user avatar
2 votes
2 answers
4k views

L2TP IPSEC VPN cannot connect Ubuntu 18.04 Strongswan - PAP authentication failed

I'm trying to connect to a VPN server and it's not working. Output from tail -f /var/log/syslog | grep -E "pppd|charon|NetworkManager|strongSwan|ipsec|l2tp" NetworkManager[22546]: <info&...
Jonathan's user avatar
  • 656
0 votes
1 answer
3k views

IPSEC/IKEv2 StrongSwan applies only the first route from split-include, the rest is ignored

I have an IPSEC/IKEv2 VPN server (on a MikroTik router) and I'm trying to connect to it from my Ubuntu 20.04.1 LTS system. The server uses x509 certificates and private/public key pairs for ...
nagylzs's user avatar
  • 131
0 votes
1 answer
3k views

CHILD_SA not working since proposed PFS Group is not configured

Would be nice if someone could give me a hint. Intro So I want to connect with my Kubuntu 18.04.5 client (NetworkManager - Strongswan/Charon) to my IPsec-IKEv2 (pfsense) Server, which works but after ...
MainName's user avatar
1 vote
1 answer
693 views

Why is DH20 not correctly negotiated with remote host when establishing an IPSec tunnel?

Trying to connect a computer to a VPN server configured this way : Router# show isakmp policy ISAKMP policy: L2TP_VPN IKD_ID: 8 negotiation mode: main proposal: 1 encryption: aes256 ...
Zulgrib's user avatar
  • 263
1 vote
0 answers
363 views

Route traffic outside L2TP IPSEC VPN on Ubuntu 18.04 client

When connecting to websites like Netflix and Stadia I would like to route the traffic outside the VPN I have setup to connect to my office. It is a L2TP IPSEC VPN setup through NetworkManager on ...
Skillzore's user avatar
  • 486
4 votes
2 answers
3k views

How to setup Strongswan to auth to LDAP?

I'm trying to create an L2TP/IPSEC VPN server in 20.04 that uses LDAP for user authentication. I'm assuming Strongswan does this. Where, in Strongswan or other configs would I add the LDAP server info?...
Chemdream's user avatar
  • 153
0 votes
1 answer
2k views

L2TP/IPsec internet access problem

When I try to connect to a VPN (L2TP/IPsec) and don't check the option "use this connection only for resources on its network" i'm not being able to access the Internet, if i use this option i'm not ...
FranzF's user avatar
  • 1
8 votes
1 answer
7k views

VPN to office without routing all internet traffic

I'm using the Gnome Network manager to connect to my office VPN. It's using StrongSwan IPSec. It connects fine, but all my internet traffic is routed through the office. I don't want this, I only ...
psiphi75's user avatar
  • 956
0 votes
1 answer
505 views

IPSEC site-to-site overlaping networks

we have two sides connected over ipsec using strongswan. both machines ubuntu 16.04 servers. the issue is both end subnets are overlapping. we have tried all possible iptables scenarios to map ...
marliyev's user avatar
0 votes
2 answers
10k views

How to connect to a VPN site using console only?

What I've found so far, there are tutorials to use Network Manager to connect to VPN. Is it possible to create a VPN connection only from the console (Ubuntu 18.04.3 LTS, either Ubuntu 16.x)? ...
J. Doe's user avatar
  • 585
0 votes
2 answers
2k views

What could make ike-scan see an IP that is an L2TP/IPSEC VPN show up like a non-IPSEC VPN?

Before today, I connected to my work VPN fine (using libreswan and NetworkManager-l2tp). After upgrading my system, my VPN connections ceased functioning. After a lot of troubleshooting, I noticed ...
AmagicalFishy's user avatar
0 votes
1 answer
3k views

how to config l2tp ip sec for multiple connection from each ip

I installed the l2tp ipsec server on Ubuntu 18.4 Now I can connect to the server and enjoy it. :) But I can only make a connection! I don't know why? When using two mobile phones on the same wifi ...
reza sh's user avatar
1 vote
1 answer
8k views

L2TP / IPSec failing to connect (Ubuntu 19.10)

On ubuntu 18.04 LTE VPN connection works properly, but on 19.10 I got: hidden@hidden:~$ tail -f /var/log/syslog hidden NetworkManager[862]: <info> [1574066091.0450] audit: op="connection-...
PMV's user avatar
  • 21
0 votes
0 answers
464 views

How to share IPSec VPN connection to eth1 or wlan0?

I have an Ubuntu pc with a working connection to my VPN server via Strongswan. The connection is IKEv2 with EAP MSCHAPv2 auth. On my Ubuntu pc I have second Ethernet port. I want to share my VPN ...
Bulat's user avatar
  • 1
1 vote
1 answer
3k views

Manage configured ipsec VPN with NetworkManager

I configured a strongswan VPN natively by editing /etc/ipsec.conf and /etc/secrets.conf under Ubuntu 18.04. I can now successfully establish the connections with: sudo ipsec up profile However, that ...
highsciguy's user avatar
2 votes
2 answers
19k views

How to set up L2TP client on Ubuntu 18.04?

I set up my system according to a tutorial I found on the Internet. I basically installed the necessary dependencies: sudo apt install network-manager sudo apt install network-manager-l2tp sudo apt ...
Michal B.'s user avatar
  • 121
1 vote
1 answer
3k views

18.04 L2TP VPN Config - what am I missing?

I've been trying to get an Ubuntu laptop to connect to our L2TP VPN server, I have tried using both 18.04 and 19.04, following a couple of tutorials which basically amounted to installing network-...
canezar's user avatar
  • 11
1 vote
0 answers
346 views

How to use an IP address to connect multiple clients to the L2TP/IPSec Linux server?

At home, I use a modem to connect to the Internet. All mobile phones on the Internet are viewed with an ip address.(NAT) I have a VPS Server. I installed L2TP/IPsec service on it. It works well. But ...
Jb Jb's user avatar
  • 11
0 votes
0 answers
173 views

Wrong IP when Connecting to strongSwan Server

I set up a strongSwan server and I want to test connectivity. I added my username and password, the ca-cert.pem and re-started strongswan on the client. service strongswan status shows lots of ...
stone.212's user avatar
  • 121
0 votes
0 answers
508 views

Allowing VPN traffic trough Ubuntu firewall to connect on Sophos firewall

I need advice to achieve something and I can't find the answer anywhere. I'm setting up a network in a test lab. I have an Ubuntu machine that runs SNORT as an IDS and it's the only machine that as ...
Émile Grenier's user avatar
0 votes
1 answer
2k views

What Rules Need To Be Setup To Allow NAT on Softether VPN?

I would like some assistance setting up Softether on a locally bridged network with NAT, as well help getting the ip tables rules setup. I have 2 network interfaces with Ubuntu 18.04 LTS. I would like ...
Vince Pike's user avatar
0 votes
2 answers
238 views

SSH'ing to server failes after setting ipv4 rules in sysctl.conf

Good morning guys, i have been trying to establish a secure connection through IPsec vpn between our server and my machine to test the VPN. i have been following this tutorial Site So Site Ipsec VPN ...
Jwan's user avatar
  • 3
0 votes
0 answers
789 views

I cannot get VPNC & NetworkManager running (IPSec Ubuntu 18.04 VPN to FritzBox) -

I cannot get VPNC working on Ubuntu 18.04 running on a Intel NUC. I installed network-manager-vpnc and network-manager-vpnc-gnome and I entered all the credentials as required. The connection starts ...
Jasku's user avatar
  • 21
1 vote
1 answer
8k views

Starting IPSec Command Hangs

I am attempting to establish a VPN connection between two regions in AWS EC2 (two virtual machines) using StrongSwan within Docker. However, I am getting a ton of errors when trying to start the ...
vtbiggi's user avatar
  • 11
1 vote
0 answers
2k views

Strange problem with l2tp / ipsec vpn

fresh install with ubuntu 18.04.1 here. I followed this link in order to setup a vpn connection at my workplace https://blog.bvzzdesign.com/2018/06/18/easily-connect-to-l2p-ipsec-vpn-in-ubunutu-18-04/...
haris013's user avatar
3 votes
2 answers
4k views

18.04 VPN l2tp issue - connects but no access to resources

My network setup is somewhat complex, so let's explain it. But first keep in mind that everything works perfectly with ubuntu 16.04, nixOs, several flavours of Arch based distribs, and windows 10. ...
squalou's user avatar
  • 455
2 votes
0 answers
3k views

How do you connect to VPN with IKEV2 with EAP-TLS authentication on Ubuntu 16.0.4?

I've recently received three files called: vpn-host-certificate.cer company-ca-certificate.cer me.p12 My work environment is Ubuntu 16.0.4. It has been requested that I connect to a VPN that is ...
Joseph Casey's user avatar
1 vote
1 answer
4k views

IPSEC VPN client inside Docker container (Ubuntu)

I want to run IPSEC VPN client inside a Ubuntu docker container, I have install strongswan and all the neccessary packages required for an ipsec client, but the problem arises when i start the ...
Saad's user avatar
  • 123
9 votes
4 answers
49k views

L2TP / IPSec failing to connect (Kubuntu 17.10)

I'm trying to connect to the corporate VPN from Kubuntu 17.10. I have network-manager-l2tp installed (version 1.2.8). The output I'm getting: Nov 28 17:20:48 T460 NetworkManager[667]: initiating Main ...
Vanessa Deagan's user avatar
1 vote
1 answer
2k views

Accidentally deleted the ipsec.conf file - what to do now?

While trying to setup my L2TP/IPSec VPN with strongswan and the network-manager-l2tp on Ubuntu 17.10 I accidentally deleted the ipsec.conf file from /etc. Reinstalling strongswan didn't help to ...
apitsch's user avatar
  • 342
13 votes
2 answers
23k views

VPN L2TP/IPSec client on Ubuntu 16.04 VPN service failed to start

On Ubuntu 16.04, I've already followed a couple of tutorials to rebuild network-manager, also installed via apt-get install network-manager-l2tp network-manager-l2tp-gnome. It was working until ...
Fabiano's user avatar
  • 243
1 vote
0 answers
831 views

strongSwan 5, IKEv2 and L2TP server over IPSEC

I have followed this tutorial and managed to configure IKEv2 with strongSwan on my Ubuntu server. However I am not able to configure L2TP and IKEv2 simultaneously on it. Previously, L2TP/IPSEC was ...
Nicolae Lăpteanu's user avatar
6 votes
1 answer
27k views

Unable to connect L2TP IPSec VPN from ubuntu 16.04 [duplicate]

I am trying to connect L2TP IPSec VPN connection from my Ubuntu 16.04 laptop. Every time I am facing same error since the same credentials working properly to connect VPNs server from any windows ...
Pratip Ghosh's user avatar
3 votes
0 answers
902 views

Module xfrm_user is in use

I've installed Openswan in Ubuntu 14.04 using sudo apt-get install l2tp-ipsec-vpn Upon configuration for accessing my client VPN network (every time I had to change the password as it is dynamic), I ...
Manoj Paul's user avatar
1 vote
2 answers
434 views

l2tp client yakkety (16.10)

Does anyone know if there is a l2tp-client for Yakkety? I've seen some post about installing on 16.04 and earlier but have not found something for 16.10. Preferably using network-manager but anything ...
user642024's user avatar
1 vote
0 answers
532 views

VPN over IPsec disconnects after 30 seconds

Im trying to connect to VPN over IPSec on Ubuntu 14.04. I'm setting it up via the applet: Everything works and I can connect to the VPN. However, after 30 seconds it always disconnects The log is: ...
Mark's user avatar
  • 121