Questions tagged [strongswan]

Strongswan is an openSource IPsec-based VPN solution

More information: https://www.strongswan.org/

64 questions
8
votes
1 answer

Always-on VPN switch on programmatically android

Can Always-on VPN switch be on programmatically? I have added the device admin permission. After that i have set always on in with device admin mDPM = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE); mDeviceAdminSample =…
Wasi Sadman
  • 1,382
  • 1
  • 15
  • 27
6
votes
3 answers

JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.ClassNotFoundException:

I am working on VPN app and follows the code of strongswan app. I have used the code of this app and it is loading .so files through JNI and i have copied these files from the strongswan project. It gives this exception for one of these…
zaheer ahmed
  • 168
  • 1
  • 2
  • 11
3
votes
1 answer

Strongswan not establishing connection

I'm creating a VPN using StrongSwan. It's my first time using this tool. I followed a tutorial to set up. I've hit a blocker whereby the peer connection times out. The status is 0 up, 1 connecting. I have tried on different servers, the same issue…
learnc
  • 43
  • 1
  • 5
3
votes
0 answers

VPN client config using IPsec/L2TP using debian raspberry pi

I am setting up my raspberry pi as a VPN client using IPsec/L2TP.I am using the following guide Configure Linux VPN clients using the command line There are several problems which I am encountring After setting up all the settings, when I try to…
Saqib Shakeel
  • 615
  • 2
  • 8
  • 17
3
votes
1 answer

Not able to access zabbix default port (10050) in a server that contains VPN installed

I want to monitor the server that contains VPN(strongswan) installed using zabbix. From my Zabbix server it is not able to access the zabbix client installed in my VPN server. Is their any way to open zabbix default port 10050? sudo ufw status…
2
votes
0 answers

Strongswan IPSEC IKE with Docker Network Subnet

I would like to setup strongswan on my DockerHost in order to allow containers on the leftSubnet which is a docker network subnet to communicate with my rightSubnet in the IPSEC TUNNEL. 10.0.10.0/24 which is my leftSubnet on DockerHost was created…
PakitoSec
  • 53
  • 1
  • 6
2
votes
1 answer

Unable to NAT IP with Iptables and Strongswan in AWS

I've just 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 all traffic going through the VPN come…
Jason
  • 21
  • 1
  • 3
2
votes
1 answer

Ipsec (strongswan) vpn not working properly with ubuntu 19.04 as client?

i have build a vpn server using strongswan by following this tutorial: https://raymii.org/s/tutorials/IPSEC_vpn_with_CentOS_7.html The server is behind a router the required ports are forwarded. On the vpn server there are some apps running on nginx…
Wendigo
  • 21
  • 4
2
votes
0 answers

IKE Authentication Failed while using certificates in Libreswan(Ipsec tunnel)

I am using Libreswan to create IPSec tunnels between VM's. I am using certificates to authenticate(for phase 1 of IPSec). However the IKE tunnel is not getting established and the authentication is failing. I have been trying to establish IPSec…
yatish h r
  • 363
  • 2
  • 12
1
vote
1 answer

strongswan govici: unmarshall child SA struct

I'm starting to use the Strongswan govici API to control IPsec, following the general pattern I found at https://github.com/strongswan/govici/blob/master/docs/getting_started.md. It's working except that I'm unable to set a connection's childSA's…
Jeff Learman
  • 2,914
  • 1
  • 22
  • 31
1
vote
0 answers

Strongswan connection without PSK

Is it possible to set up strongswan without pre shared secret and without a certificate for iOS/macOS? Only login and password. My current method for iOS/macOS: leftauth=psk
FedorIT
  • 43
  • 5
1
vote
1 answer

flutter_vpn example app crashing after installing

I was trying to build a vpn app in flutter then I found the flutter_vpn package which is using strongswan vpn protocol but when I tried to run the example app in the library in debug mode, it runs fine without any problem. But when I tried to build…
1
vote
0 answers

Access kubernetes services behind IKEv2 VPN (strongswan) on AKS

I am trying to establish an IKEv2 VPN between one VM(subnet: 20.25.0.0/16) and one AKS cluster(subnet: 10.0.0.0/16 - Azure CNI) using strongswan gateway. I need to access some kubernetes services behind of this AKS cluster. With Azure CNI each pod…
1
vote
0 answers

Stream lib returns null for tests

When strong swan runs the tests. It fails only with the following tests in the tests suite: I am getting error Running suite 'stream': Running case 'sync': -++ Failure in 'test_sync': service != NULL (suites/test_stream.c:64, i = 0) Running case…
hariszaman
  • 8,202
  • 2
  • 40
  • 59
1
vote
1 answer

strongswan: What is the difference between left and leftid?

This tutorial use left parameter when setup strongswan, while this tutorial also use leftid parameter. What is the difference between left and leftid?
Ren
  • 2,852
  • 2
  • 23
  • 45
1
2 3 4 5