Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure only supports DH Group 2 by default and StrongSwan has deprecated it #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion StrongSwan/5.3.5/ipsec.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@ conn azure
right=4.3.2.1 #Azure Dynamic Gateway's IP address
rightsubnet=10.11.0.0/16,10.12.0.0/16 #Azure VNET address space
auto=route
keyexchange=ikev2 # Mandatory for Dynamic / Route-based gateway
keyexchange=ikev2 # Mandatory for Dynamic / Route-based gateway
# By Default Azure VPN gateways only accept DH Group 2 (-modp1024). Since StrongSwan has
# deprecated DH Group 2 we need to manually add it in.
# SECURITY WARNING:
# DH Group 2 is now considered insecure, you should add a Connection policy on
# Azure side that uses DH Group 24 (-modp2048s256) or a more secure one (EC).
# Use strongswan stroke up <connection_name> to see if proposals match.
ike=aes256-sha384-modp1024