Questions tagged [ipsec]
IPSec is a method to provide internet security over the layer 3 of the OSI model.
203
questions
0
votes
0
answers
18
views
+50
Bandwidth control using traffic control `tc` on Strongswan ipsec connection
I am in the need to use traffic control tc to regulate the bandwidth.
From what I known is that I can manage the bandwidth using the following
DEV=eth0
RATE="100kbps"
tc qdisc del dev $DEV ...
0
votes
0
answers
15
views
Cannot establish IPv6 connection with strongswan using IKEv2 and MSCHAPv2 Host-To-Host (Legacy configuration)
I am unable to get a connection with IPv6 host-to-host.
Below is the log output (anonymized)
Sep 27 14:25:18 vpn.xxxx.tld ipsec[13769]: 00[DMN] Starting IKE charon daemon (strongSwan 5.9.8, Linux 6.1....
1
vote
0
answers
27
views
Using remore office local internet
I bought two routers (DrayTek Vigor 2866ax) to connect offices in different countries. The problem we have is we need to use internet of other country to connect to our bank accounts and local ...
3
votes
1
answer
62
views
P12 Certificate Authentication - what is the correct method
I've been able to successfully set up an IKEv2/IPSec VPN Server using certificate authentication. However, I have a general issue regarding the correct method of creating P12 user certificates.
I've ...
0
votes
0
answers
34
views
Downgrade libreswan version inside docker alpine
I configured vpn server inside docker from this repo 10 months ago. But recently met connection errors. I found this issue and want to try fix it with downgrading libreswan to 4.15, but don't ...
0
votes
0
answers
41
views
Configuring IPsec idle timeout on Windows
I am experimenting with built-in Windows IPsec functionality (advfirewall Connection Security Rules method) against an embedded Strongswan server. I have observed the following behavior:
Phase 2 (...
1
vote
1
answer
98
views
VPN for remote access to home LAN (IPSec?)
Another probably daft question:
I am in the process of setting up a VPN connection for the purpose of remote access to services on my home LAN. The router, firewall and VPN server i am using for this ...
0
votes
0
answers
26
views
Configure IPsec only VPN on routerOS
For connections from my iPhone into my home network when I'm outside, I configured a VPN based on L2TP and IPsec. I found a lot of examples in the internet for this configuration. All network traffic ...
0
votes
0
answers
10
views
Occasional and Momentary Site-to-Site VPN Tunnel Failures
I just started managing a number of locations that have site-to-site VPN connections. Part of what I've been doing is going through the Sophos firewalls examining alerts, findings and incidents. While ...
0
votes
0
answers
130
views
Unifi UDM - IPSec VPN PING works but nothing else?
I'm trying to setup a remote syslog solution that is comprised of the following:
Unifi UDM SE --> Site-to-site IPSec VPN Connection --> AWS VPC --> Private EC2 Instance (syslog collector - ...
0
votes
0
answers
70
views
IPSEC VPN to secondary router with additional remote network
Our SITE A router/firewall is PFSense.
SITE A Has a LAN of 10.2.1.0/24 with an IPSEC tunnel up between that and cellular router with a LAN of 192.168.182.46. This is connected to the customers ...
0
votes
0
answers
55
views
IPsec S2S Strongswan with left subnet /32
I would like to know if it is possible to set up a Site to Site IPSec VPN with a VPS running strongswan.
This VPS has no private IP but only a public IP.
So my left subnet will be my public IP in /32
...
0
votes
0
answers
228
views
Extremely slow transfer speed through IPsec tunnel between 2 locations
I have 2 location with fibre connection. Location A has ~400M down/up whereas Location B has 1Gbps (up/down) shared pipe between 4 offices (total of 15 computers).
Location A has a Windows 2019 Hyper-...
0
votes
0
answers
52
views
Allow traffic through 2 tunnels on pfsense
I have a device X 192.168.60.123 on location A and a 3rdparty server 172.16.0.2 on location C .
There is a ipsectunnel between location A 192.168.60.0 and location B 192.168.1.0.
Then there is a ...
1
vote
0
answers
33
views
Trying to find out the best possible network setup to allow IPSec tunneling between networks through Cisco router and DreyTek network device
I'm trying to find out the best possible network setup for my test SOHO network.
My goal is to create a create IPSec tunnel between my network (192.168.68.0/24) and a remote network. The main reason I ...
0
votes
1
answer
297
views
Strongswan ipsec tunnel not establishing connection with AAA server
I have two VM
VM-1 : I have installed Strongswan 5.9.
VM-2 : Installed Strongswan 5.9, Installed freeradius (radius server)
I have started Strongswan on both VM by systemctl start strongswan.
When I ...
0
votes
0
answers
619
views
establishing IKE_SA failed, peer not responding Strongswan
Hi I am trying to setup a IPsec tunneling by strongswan on Almalinux 8. Below are my swanctl.conf file. When I trying to run swanctl --initiate --child net-net from VM-1 I am getting below error. What ...
0
votes
1
answer
2k
views
NO_PROPOSAL_CHOSEN strongswan ipsec tunnel
Hi I am trying to setup site-to-site vpn tunneling on AWS VMs. Below are my ipsec.conf files for both VMs.
VM-1 (assume IP address : 1.2.3.4)
conn %default
lifetime=60m
mobike=no
...
0
votes
1
answer
380
views
Strongswan ipsec tunneling between two VMs
I am very new to VPN and IPsec tunneling. I have two VMs between them I need to establish IPsec tunnel by using pre-defined PSK key or provided certificate .pem.
I have installed strongswan-5.9.6-1....
1
vote
0
answers
319
views
StrongSwan 5.9.1 (Debian Bullseye): Traffic from IPsec tunnel gets forwarded via Ethernet, but not via bridge
The following problem:
I have a server that is, in addition to other tasks not relevant for the problem at hand, supposed to act as an IPsec gateway.
When I'm using the Ethernet interface pointing to ...
0
votes
3
answers
1k
views
VPN Connection (Fritzbox) works for Android Client but not for Windows and Ubuntu
I use a Fritzbox 7530 Router in my home network as a VPN server. The VPN is configured as "IPSec Xauth PSK" with following settings: server name, IPSecID, IPSec shared key, user name and ...
1
vote
1
answer
1k
views
How to configure strongSwan eap-radius with FreeRadius for EAP-MSCHAPv2 authentication?
I am trying to configure a strongSwan IPsec VPN with RADIUS authentication. The actual EAP-MSCHAPv2 authentication to FreeRadius with OpenLDAP for username/passwords is successful, but then I am stuck ...
0
votes
1
answer
683
views
Internal DNS server ignored via VPN
I have the following home network setup:
LAN: 172.16.0.0/24
Proprietary router of my ISP (IPv4, Bridge-Mode -> Bridged to my FRITZ!Box router)
Router & DHCP (FRITZ!Box) -> 172.16.0.1
VPN, ...
1
vote
1
answer
1k
views
Strongswan VPN certificate authentication failed
I've installed strongswan vpn on my ubuntu server. Set up certificate authentication. I've set up my android-phone and it works fine. But connection didn't established on the windows machine. I copied ...
0
votes
1
answer
1k
views
Single IP left subnet and routing traffic through tunnel in strongswan
I must set up an ipsec tunnel to use an external service provided by another company (so I have no control on the other side and can't change anything there). Let's say that:
192.168.0.0/24 is my ...
1
vote
0
answers
1k
views
iptables to nftables for iKEv2 IPSEC VPN server
Can someone please help in converting the below iptable rules to equivalent nftables rules?
I have already tried to use iptables-translate, but it is not translating all of my rules...
# accept ports ...
0
votes
0
answers
52
views
VPN 3rd party connectivity: IPsec or SSL VPN and why
I'm setting up a secure remote RDP connection for a 3rd party user to perform maintenance operations on their machine installed in our site.
My frontend firewall is OPNSense and it gives me two built-...
0
votes
0
answers
147
views
IPsec conflicting new bare shunt error
While using Libreswan Version 4.3 on RHEL-8, I am getting the following logs while IPsec is blocking all traffics.
How can i resolve these errors of existing connection instance and conflicting ...
1
vote
0
answers
98
views
firewalld: Block non-ESP packets on interface in GNU/Linux similar to OpenBSD
I am trying to "enforce" IPSec (StrongSwan) traffic on openSUSE.
On OpenBSD, with the IKE daemon iked and the packet filter pf, I employ a ruleset like the following, to ensure only ...
0
votes
1
answer
273
views
How can RDP get secured using IPSec and IPv4, rather than IPv6 on Windows 10
I found this approach to secure RDP-connections on a post at the University of Rostock.
On the Server (W10):
netsh ipsec static set store location=local
netsh ipsec static add policy name="...
0
votes
1
answer
390
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
0
answers
13
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
1
answer
153
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
1
answer
1k
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
0
answers
126
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 ...
1
vote
1
answer
3k
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
1
answer
1k
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
1
answer
274
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
0
answers
62
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 ...
1
vote
1
answer
3k
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
1
answer
2k
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
1
answer
3k
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
1
answer
563
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 (...
1
vote
0
answers
2k
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"/...
1
vote
0
answers
120
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
0
answers
194
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
0
answers
2k
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
1
answer
153
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?
4
votes
2
answers
9k
views
How can I route only a particular subnet to the StrongSwan VPN but not my whole traffic on linux?
I 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. This ...
0
votes
1
answer
612
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 ...