GitXplorerGitXplorer
t

strongswan-redirect-plugin

public
5 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
b75d6d79e6b2acca6025f78f0bebfa00d07cb605

Initial commit

ttobiasbrunner committed 6 years ago

README

The README file for this repository.

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.