Skip to content

Example Plugin for strongSwan's IKEv2 Redirection Functionality (RFC 5685)

Notifications You must be signed in to change notification settings

tobiasbrunner/strongswan-redirect-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Plugin for strongSwan's IKEv2 Redirection Functionality (RFC 5685)

Very simple out-of-tree strongSwan plugin that shows the use of the redirect_provider_t interface that may be used to redirect IKEv2 clients to another gateway using the protocol specified in RFC 5685.

The two methods of that interface, redirect_on_init() and redirect_on_auth(), are both optional to implement and allow redrection during IKE_SA_INIT and/or IKE_AUTH, respectively. Note that it's also possible to redirect clients later e.g. via VICI's redirect command.

The provided Makefile can be configured on the command line with some variables that specify the location of several things required for the build and later during the installation of the plugin.

Since it's an out-of-tree plugin, the daemon won't load it, by default. The provided config snippet assumes that the modular plugin configuration is in use.

About

Example Plugin for strongSwan's IKEv2 Redirection Functionality (RFC 5685)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published