Skip to content

ex-git/IKEv2-Debian-strongSwan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

IKEv2-Debian-strongSwan

The VPN server setup use Let's Encrypt certificate, so no need to use private certificates. Authenticate with username and password only. This script will turn off ipv6 for security concern. Let's Encrypt certificate will be auto-renew by certbot, so it is a set and forget setup.

For iOS and Mac profile, set encryption algorithm and integrity algorithm as below.

      <dict>
      <key>EncryptionAlgorithm</key>
      <string>AES-256-GCM</string>
      <key>IntegrityAlgorithm</key>
      <string>SHA2-256</string>
      <key>DiffieHellmanGroup</key>
      <integer>21</integer>
      <key>LifeTimeInMinutes</key>
      <integer>1440</integer>
      </dict>

If you need to open port 80 and 443 for web service, need to uncomment two lines in the scripts or manully added iptables rules.

If you encounter error connecting to the server, run real-time logs and see if you missing any things.

      tail -f /var/log/syslog

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages