Questions tagged [ipsec]

Internet Protocol Security (IPsec)

Filter by
Sorted by
Tagged with
1
vote
1answer
31 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 ...
1
vote
0answers
122 views

L2TP/IPSEC Client configuration Ubuntu 18.04 LTS

I am trying to setup an IPSEC/L2TP client VPN configuration on a Ubuntu 18.04 using Strongswan and xl2tpd. I have no control over the server side configuration. UPDATE & Partial Resolution The ...
0
votes
0answers
36 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 ...
3
votes
2answers
242 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?...
0
votes
0answers
39 views

Connect as client to IPSec VPN Tunnel

My client has requested to connect to a VPN tunnel. They have provided a pre shared key and the Phase 1 & Phase 2 encryption methods. How do i go about connecting as a client on the Ubuntu server? ...
0
votes
1answer
478 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 ...
0
votes
0answers
176 views

Network manager VPN strongswan

I'm a fresh-user and I have some trouble using Network-manager (ubuntu 20.04) to connect an IP-SEC VPN, I've installed strongswan and its plugin for NM and I managed to obtain a IP from the remote ...
0
votes
0answers
347 views

L2TP / IPSec failing to connect (Ubuntu 18.04)

I am trying to connect to my corporate VPN via Ubuntu 18.04. I do not know much about networking but the connection is intermittent. Once I get connected successfully it stays connected until I ...
0
votes
0answers
45 views

How to configure Racoon.conf and ipsec-tools.conf to run multiple policies

I have two remote hosts in different networks. Now I need to configure ipsec-tools.conf to allow multiple policies. If I put them in one after the other and initiate traffic, only the first policy ...
1
vote
1answer
528 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 ...
0
votes
0answers
176 views

Strongswan/IPSec Client doesn't seem to route traffic

On Ubuntu 18.04: I'm able to use strongswan and ipsec to authenticate with a VPN on AWS, and even got it to pass traffic and perform DNS lookups with some combination of flushing ip route flush table ...
0
votes
1answer
42 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 ...
0
votes
0answers
57 views

L2TP/IPSec VPN Routing: Cannot access “.local”-Domain - search domain is set

so I am running Ubuntu and I have to connect to the VPN of my company in order to access everything I need to work. I did not setup the VPN server myself and I don't have any ability to change it. ...
0
votes
0answers
32 views

Open vpn on linux before starting a virtual machine (with virtualbox) is it secure for both?

I would like to ensure if it's right to launch a vpn connection before launching a virtual machine, because I'm not sure if it's risked ? How can I see that, because ifconfig cmd show me that my ...
0
votes
0answers
167 views

Cannot connect to Meraki VPN

I'm struggling to connect my Ubuntu 19.10 machine to a Meraki VPN. I've tried the suggestions here, but with no success. Output from sudo /usr/lib/NetworkManager/nm-l2tp-service --debug (with the ip ...
0
votes
2answers
1k 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)? ...
0
votes
2answers
550 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 ...
0
votes
0answers
42 views

Import Mac .networkManager config

My organisation provides a .networkManager file for VPN configuration. It’s an XML file. I don’t know where each piece of info goes in Ubuntu Network Manager (have tried a few iterations, but can’t ...
0
votes
1answer
1k 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 ...
0
votes
1answer
3k 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-...
0
votes
0answers
177 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 ...
0
votes
1answer
756 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 ...
0
votes
2answers
5k 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 ...
0
votes
1answer
2k 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-...
1
vote
0answers
166 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 ...
0
votes
0answers
100 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 ...
0
votes
2answers
497 views

IPSEC/L2TP VPN causes resolving name server problem with the latest systemd version on 18.04

After upgrading libnss-sysytemd library to the latest version 237-3ubuntu10.12, IPSEC/L2TP VPN connection is established but I cannot connect to outside of LAN. I found out the route table was not the ...
0
votes
0answers
203 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 ...
0
votes
1answer
885 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 ...
1
vote
1answer
225 views

Latest strongswan update broken in 18.10 [closed]

A lot of strongswan files got updated this morning. It breaks strongswan because it can't find /etc/ipsec.conf. Sure enough, it's missing. The package file indicates that it's there, but it doesn't ...
1
vote
0answers
506 views

IPsec Uses OpenSwan instead of StrongSwan

Good morning guyz. I have been trying to establish a secure connection via IPsec(StrongSwan) between my PC and my server with help of this tutorial, i installed StrongSwan both on the server and the ...
0
votes
2answers
47 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 ...
0
votes
0answers
572 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 ...
1
vote
1answer
3k 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 ...
1
vote
0answers
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/...
1
vote
3answers
3k views

IPSec with strongswan doesn't connect

I'm trying to set up and IPSEC server with strong swan on 18.04 My ipsec.conf is: # ipsec.conf - strongSwan IPsec configuration file config setup charondebug="cfg 2" conn ikev2-vpn auto=add ...
3
votes
2answers
2k 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. ...
2
votes
0answers
2k 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 ...
1
vote
1answer
2k 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 ...
6
votes
4answers
31k 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 ...
1
vote
1answer
758 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 ...
0
votes
1answer
432 views

Implementation of IPSec and IKEv3

I need help. I want to compare the Internet Key Exchange protocol performances version 2 with version 3 (IKEv2 vs IKEv3). I established a VPN connexion with IPSec and IKEv2, but i dont have any idea ...
12
votes
2answers
18k 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 ...
1
vote
0answers
710 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 ...
0
votes
1answer
383 views

ipsec security with esp and ah protocol

I have Ubuntu 14.04 LTS and I installed ipsec-tools. Can I add a rule in the configuration file ipsec-tools.conf to encrypt data with esp protocol then encrypt it (the encrypted data ) again with ah ...
6
votes
1answer
19k 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 ...
3
votes
0answers
699 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 ...
0
votes
0answers
322 views

private/strongswanKey.pem: Permission denied

I am trying to create a certificate based tunnel but when I type this line: sudo ipsec pki --gen --type rsa --size 4096 --outform pem > private/strongswanKey.pem it returns me private/...
1
vote
1answer
2k views

UFW keep blocking IPsec

I'm trying to run ikev2 VPN server on Ubuntu 16. UFW list contains: To Action From -- ------ ---- Anywhere DENY 69....
1
vote
2answers
424 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 ...