Questions tagged [ipsec]

IPSec is a method to provide internet security over the layer 3 of the OSI model.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

Reliability of UDP over IPsec

I've read about IPsec today. The article stated that IPsec provides security and integrity checks at layer 3. If information above is correct, does it mean that UDP used over IPsec can be considered ...
0
votes
0answers
11 views

“Site can't be reached” when trying to query database from webapp page in IPSEC infrastructure

things are like this: VM with Windows Server 2012 for asp.net webapp - APPServer VM with Windows Server 2012 for sql server database(different from 1 - but same network) - DBServer CLient1 - Another ...
0
votes
0answers
40 views

Issues in communicating via IPSec (StrongSwan) between an Android client and its gateway (IKEv2)

I've been attempting to create an IPSec VPN into my home network to which I can tunnel from outside, eg. on my phone or thru my laptop when I'm abroad. Authenticating the clients is done via pubkey ...
0
votes
0answers
16 views

L2TP/IPSec Public IP To Client

I currently have a server set up (Ubuntu) of which i'm using as a VPN server with L2TP and IPSec. However when connecting to this, it is providing a LAN IP address (server side). I would like the ...
0
votes
1answer
34 views

NordVPN on Draytek 2862 stops working after some time for no apparent reason

So i have a NordVPN account, which i configured on my draytek, it works for the most part but it will suddenly stop working. the connect does NOT drop, it shows as connected and fine, but no devices ...
0
votes
1answer
70 views

Unable to connect to L2TP/IPsec vpn from Windows 10

When I try to connect to my L2TP/IPsec vpn with pre-shared key, I get the following error: The L2TP connection attempt failed because the security layer encountered a processing error during initial ...
1
vote
0answers
57 views

IPsec and private IP

I'm creating an IPsec / L2TP network and I want to have one server and multiple clients. On each client, the only way I got IPsec to work properly was to set the IP of the interface that will host the ...
0
votes
1answer
194 views

Define PFS Group in Strongswan IKEv2/IPsec Phase 2 Settings

I am trying to setup a VPN connection on Ubuntu 20.04 using Strongswan. One of the requirements for the tunnel is to use PFS group 20. Is the PFS group 20 being set when we have the following line in ...
1
vote
0answers
6 views

Why does ipsec create a new connection?

I have two gateways, I start IPSec in both via ipsec start --nofork in gw2 first (but the same problem happens if I start IPSec on gw1 first) However, about 10 seconds after the ike SA is done, the ...
1
vote
1answer
272 views

macos ipsec vpn not using proper dns servers

I've read several articles on DNS resolution over IPSEC using the native VPN client for macos but I can't seem to resolve the issue. The ISPEC server is pfSense. I have added the proper DNS servers ...
0
votes
0answers
62 views

L2TP IPSec VPN - troubleshooting with vpn connection to company network

I have a VPN L2TP IPSec network in my company. Main router - Asus RT-AX56U connects with the operator via PPPoE (login/password). We have another router Dasan H660GM which is set to operate as a ...
0
votes
1answer
59 views

VPN from Windows 10 to Windows Server 2019

I'm trying to establish a connection between a Windows 10 machine and a Windows Server 2019. On the server side I set up the VPN by these instructions https://www.snel.com/support/how-to-set-up-an-...
1
vote
0answers
40 views

IPSec Phase 2 Configuration For Translated Subnets?

I have two networks with the 10.0.0.0/8 subnet I'm trying to connect via IPSec tunnels. I have the phase 1 configurations working but am a bit stuck on the phase 2 configurations. Each firewall used ...
0
votes
0answers
76 views

Unable to NAT IP with Iptables and Strongswan in AWS

I'v configured Strongswan and can successfully bring the VPN tunnel up on an AWS EC2 instance but I’m having issues with the traffic because we need to NAT the private IP address of my EC2 instance so ...
1
vote
1answer
457 views

Use Own VPN Server on Google Chrome Browser

I'm looking a way to connect Internet through my VPN server while browsing from Google Chrome Browser. I though best way is use an extension but I couldn't find any extension that let me enter my own ...
0
votes
1answer
399 views

How can I create an IPsec tunnel between a FritzBox and a pfsense, without using Aggressive Mode?

I've successfully created an IPSEC Tunnel between my local FritzBox 7590 and my office, which is running a pfsense hardware firewall (APU2) with pfsense 2.4.5-RELEASE-p1 and coreboot firmware v4.11.0....
0
votes
0answers
23 views

VPN including IP subnet

I have a company network having network "A". Inside this network there is a subnetwork "B": this subnetwork has one Linux-operating machine, a Gateway, having two network ...
0
votes
0answers
300 views

Windows 10 IPSec IKEv2 cert error

I have serious problem establishing VPN tunnel remote access/road warior via IPSec tunnel. I created personal certificate(ECP521) and exported it from Mikrotik router in pkcs12 format, which includes ...
0
votes
1answer
605 views

IPSec nftables strongswan

How to configure nftables to allow inbound only ipsec traffic and process rules after decryption. I have nftable.conf: #!/sbin/nft -f flush ruleset # ----- IPv4 ----- table ip filter { chain ...
0
votes
1answer
118 views

VPN redirect user to specific IP and port

Hope you can point me in the right direction. I have this idea but need some advice and suggestions where to look at and how to do it (if it's possible) I want my family members to connect to a VPN (...
0
votes
0answers
263 views

How can I route “Multicast - IGMP” through a VPN L2TP/IPSEC server?

I'm trying to route IGMP traffic through a VPN server, in order to successfully establish an IPTV streaming server. I'm aware of the traffic that this will cause in the VPN server, however, this VPN ...
0
votes
0answers
32 views

Windows 10 - NETBIOS query response not added to cache

I am encountering an issue when attempting to use NETBIOS over an IPSec Site-to-Site VPN. NETBIOS Broadcast is enabled on both sides of the VPN in question - and using Wireshark, NBNS Queries and ...
0
votes
0answers
25 views

A configuration error occured. Verify your settings and try reconnecting. - MacOS VPN

I'm getting the following error when I try to connect to my VPN using macOS's default vpn client: "A configuration error occured. Verify your settings and try reconnecting". The protocol I'm ...
0
votes
0answers
18 views

Why is only 1 of multiple IPSec phase 2 networks initiated?

Our own network is "main" by pfSense. To be able to do maintenance to customers hardware, we setup an IPSec connection from our internal (desktop) network (10.128.10.0/24) to each of our ...
0
votes
0answers
52 views

Vpn connection in the gitlab pipeline

I have created a pipeline in gitlab. I wish I could establish a vpn connection. On my pc I use the Shrew Vpn client, then following the official Shrew guide I installed the client for linux. But when ...
0
votes
0answers
237 views

StrongSwan configuration from Shrew VPN

I'm trying to configure the strongSwan linux client for my vpn connection. The starting configuration I am using is that of Shrew vpn. This is the shrew vpn config file: n:network-ike-port:500 n:...
0
votes
0answers
806 views

How to setup IPSec VPN between PFSense and Edgerouter X

We have 2 routers/firewalls, 1x pfSense and 1x UBNT Edgerouter X. I tried to setup an IPsec site-to-site connection between these 2 but i cannot get it done. I followed multiple "tutorials"/...
0
votes
0answers
817 views

VPN connection to Unifi USG Pro 4 using L2TP/IPSEC does not work behind my ISP's router

I have my ISP's router in my home which gives out 192.168.0.x addresses. I also have a USG with which i want to create a separate network, that i can reach using VPN with L2TP/IPSEC. This should be ...
1
vote
0answers
54 views

How to configure pfsense to use VPN as gateway for OPT port only?

Currently I have set up my PfSense SG-1100 to function as a site to site VPN. I have an unused OPT port on my router and I want to attach that to a switch and have it function as the gateway to the ...
0
votes
0answers
62 views

How to verify lets encrypt certs with server? - OSCP error linux Strongswan

Goal I am attempting to build an IKEv2 VPN using the strongswan IPSEC implementation with Let's Encrypt certificates and RSA authentication. I successfully built it in the legacy ipsec.conf format, ...
2
votes
0answers
707 views

Troubleshooting VPN connection with Wireshark by decrypting IPSec packets

I'm having troubling establishing a VPN connection to a specific network and I'm not the only one having issues. As per their instructions, I'm using the standard VPN client built in windows with pre-...
0
votes
1answer
42 views

Can multiple subnets reach each other connecting to a central IPsec VPN?

Say you have three networks, networks A, B, and C. -A is an ipsec VPN server -B is connected to A through ipsec -C is connected to A through ipsec Can network B access network C?
2
votes
2answers
3k views

How can I route only a particular subnet to the StrongSwan VPN but not my whole traffic on linux?

I'm have no particular competences on networking, so I'll do my best to explain my needs. On my Linux laptop I'm running StrongSwan (with NetworkManager) to connect to a particular VPN with IPsec. ...
0
votes
1answer
139 views

Can any IPSec client connect to any IPSec server?

I have been pondering setting up my own VPS with a VPN server running. Most often, OpenVPN is thrown around when users talk about setting up a VPN on Linux, but this tech seems to live a bit on the ...
0
votes
0answers
279 views

Strongswan IPsec configuration ( Linux - Cisco)

I'm configuring site-to-site ipsec tunnel. The error that I am getting shows that Quick Mode proposal (ESP) doesn't match Jan 27 09:23:42 raspberrypi charon: 10[ENC] generating QUICK_MODE request ...
0
votes
0answers
196 views

Troubleshooting L2TP/IPSec on Windows Server 2019 with PowerShell

The problem which I've got is that a Windows Server 2019 VM hosted in the cloud crashes exactly after it shows that a L2TP/IPSec connection is successfully established. According to the VPN server (...
0
votes
1answer
4k views

IPsec on pfSense: Tunnel is up, but I can't connect to remote host

I have a strange problem with my IPsec VPN: I have 2 matched [hardware and software - 2.4.4 release p3] pfSense boxes at different locations. Each pfSense is a Firewall + DHCP server + Gateway for the ...
0
votes
0answers
517 views

VPN l2tp over IPSec: ppp - No auth is possible. Ubuntu 18.04 LTS

I setup IPSec over VPN using this tutorial https://20notes.net/linux/setup-l2tp-over-ipsec-client-on-ubuntu-18-04-using-gnome It is working using NetworkManager. However NetworkManager allow only one ...
1
vote
0answers
109 views

Linux ShrewSoft client connects but doesn't pass any traffic

A customer recently changed their VPN server and now recommends ShrewSoft as the appropriate client. On Windows, the provided config works. On Linux, it also appears to connect and sets up a tap0 ...
0
votes
0answers
63 views

Some VPN traffic blocked to secure endpoints

I have a VPN server (strongswan) used for testing that I connect to via IKEv2 on a variety of systems (here, I tried Windows, Ubuntu, & Android), normally without issues. This morning, I was on a ...
0
votes
0answers
762 views

Strongswan ipsec site-site configuration

I'm configuring site-to-site ipsec tunnel using strongswan, but i don`t know how is ipsec tunnel opened on remote side (definitely without using strongswan) When i try to connect - i get no response ...
1
vote
0answers
30 views

IPSEC connection between SIP Client and PCSCF. ESP header does not appear. IPsec does not apply to the header

I wanted to create SIPP script to create scenario to establish IPSEC connection between UE and PCSCF using below; For example:- setkey -c << EOF spdadd $pcscf/32[$port_pc] $ue/32[$port_us] tcp ...
0
votes
0answers
23 views

IPSec Tunnel in a tunnel? A soon to be travelling remote worker

Ok. I generally work remotely, which is nice. I soon plan to do some overseas travelling, and I would prefer to hide my real srcIP if possible (potential audits/geo-restrictions, etc.). I'm ...
4
votes
1answer
2k views

L2TP/IPSec On Mac Failed to connect

I am connecting to a VPN Server set up following instructions in https://github.com/hwdsl2/setup-ipsec-vpn And I setup the clients following https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/...
0
votes
1answer
528 views

RTNETLINK answers: Operation not supported for ip xfrm command on debian os

I am trying to configure ipsec through ip xfrm commands in debian image. I am facing operation not supported error. Kindly help me on where am going wrong. Logs: NE145:2-10*:/tmp # ip xfrm policy ...
0
votes
0answers
121 views

Connect to my server from outside my network securely

I have a LAN with computers connected to server, what I need to do is connecting PC to this server securely from another location. My network structure is described in the image attached and needs ...
1
vote
0answers
22 views

Is it possible to skip main mode for IPSec communication on Windows?

On Linux, after registered several SAs (Security Associations) between a pair of Linux host, I can create communication between those two Linux hosts, i.e, communicate with ESP packets. But on ...
0
votes
0answers
369 views

IPv6 Strongswan IPSec + NAT

I have a VPS with an IPv4 (/32) and an IPv6 (/128). I've set up Strongswan and my IPv4 IPSec server works just fine - I'm using it all the time. I'm trying to get it to work with IPv6 and so far it'...
0
votes
2answers
255 views

Edit Windows Defender Firewall defaults IPSEC settings through CLI

I am looking for a commandlet to modify the defaults IPSEC settings of the Windows Defender Firewall through CLI. Specifically the defaults authentication settings. Here is a screenshot of the GUI ...
0
votes
1answer
46 views

SQL Server encapsulating packets into IPsec?

I found this with Wireshark while troubleshooting a SQL Server AlwaysOn cluster for that damned ASYNC_NETWORK_IO problem: a few packets originating from SQL Server's data port (manually configured as ...