Client-to-Site VPN with strongswan

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Client-to-Site VPN with strongswan

L0 Member

Hello,

 

Can we build VPN ipsec Client to site with strongwan in customer side.
We can't use globalprotect

 

Regards,
Mehdi Mtalsi,

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

@M_Mtalsi,

Assuming that you're talking about setting up a Site-to-Site IPSec tunnel between StrongSwan and the Palo Alto, this would be a standard IPSec tunnel setup. The last time I set this up we weren't able to get IKEv2 up properly and had to use IKEv1 only, but the client wasn't able to secure time with the vendor to troubleshoot further once things were operational so I didn't spend much time trying to figure out the issue or look at the StrongSwan side of things to see if they had made a mistake on their end.

View solution in original post

4 REPLIES 4

Cyber Elite
Cyber Elite

Hello,

Just to clarify, you want to use a 3rd party client to connect to the Palo Alto?

Regards

Cyber Elite
Cyber Elite

@M_Mtalsi,

Assuming that you're talking about setting up a Site-to-Site IPSec tunnel between StrongSwan and the Palo Alto, this would be a standard IPSec tunnel setup. The last time I set this up we weren't able to get IKEv2 up properly and had to use IKEv1 only, but the client wasn't able to secure time with the vendor to troubleshoot further once things were operational so I didn't spend much time trying to figure out the issue or look at the StrongSwan side of things to see if they had made a mistake on their end.

L0 Member

@OtakarKlier Hello,

 

We want to set up a Client-to-site IPSEC tunnel between StrongSWan (= linux computer) and a palo alto firewall.

It is possible ?

@BPry  thank you for your answer.

 

Regards,

Hey @M_Mtalsi,

You may call it client-to-site, because StrongSwan is installed on endpoint host, rather on a host with ip forwarding enabled, but what @BPry explained is still technically a site-to-site, at least from PAN firewall point of you:

- You need to create IKE Gateway with public IP address of the peer

- Create tunnel interface and security zone associated with the tunnel assigned to this IKE gateway.

 

This means that only single device can establish VPN tunnel and only traffic with that devices will be associated with that security zone. If you plan to have multiple host installed with StongSwan - you will need separate IPsec tunnel for each StongSwan agent.

As you can see this approach is suitable if you plan to install StrongSwan on Linux machine and enable ip forwarding, so it can act as VPN gateway for multiple users on site.

 

If you want to use StrongSwan as client VPN, you will need different approach - GlobalProtect support 3rd party VPN clients, which includes StongSwan - https://docs.paloaltonetworks.com/compatibility-matrix/globalprotect/what-x-auth-ipsec-clients-are-s...

Because StongSwan is purely IPsec client and cannot authenticate like GlobalProtect agent (using HTTPS requests), you need X-Auth - https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000HAlICAW&lang=en_US%E2%80%A...

Benefit of this approach is that users with StongSwan clients will be treated like normal GlobalProtect remote users and will be associated with the same security zone, use same ip pool, etc. The biggest difference is that those clients will not submit HIP reports.

  • 1 accepted solution
  • 3753 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!