Section: Executable programs (8)
ipsec__updown - kernel and routing manipulation script
is invoked by pluto when it has brought up a new connection. This script is used to insert the appropriate routing entries for IPsec operation on some kernel IPsec stacks, and may do other necessary work that is kernel or user specific, such as defining custom firewall rules. The interface to the script is documented in the pluto man page.
is passed along a number of variables which can be used to act differently based on the information:
indicates what version of this interface is being used. This document describes version 1.1. This is upwardly compatible with version 1.0.
specifies the name of the operation to be performed, which can be one of
down-client. If the address family for security gateway to security gateway communications is IPv6, then a suffix of -v6 is added to this verb.
is the name of the connection for which we are routing.
is the next hop to which packets bound for the peer must be sent.
is the name of the real interface used by encrypted traffic and IKE traffic.
is the IP address of our host.
is the IP address / count of our client subnet. If the client is just the host, this will be the host's own IP address / max (where max is 32 for IPv4 and 128 for IPv6).
is the IP address of our client net. If the client is just the host, this will be the host's own IP address.
is the mask for our client net. If the client is just the host, this will be 255.255.255.255.
is the IP address of our peer.
is the IP address / count of the peer's client subnet. If the client is just the peer, this will be the peer's own IP address / max (where max is 32 for IPv4 and 128 for IPv6).
is the IP address of the peer's client net. If the client is just the peer, this will be the peer's own IP address.
is the mask for the peer's client net. If the client is just the peer, this will be 255.255.255.255.
lists the protocols allowed over this IPsec SA.
lists the protocols the peer allows over this IPsec SA.
lists the ports allowed over this IPsec SA.
lists the ports the peer allows over this IPsec SA.
lists our id.
lists our peer's id.
lists the peer's CA.
Man page written for the Linux FreeS/WAN project <m[blue]https://www.freeswan.org/m> by Michael Richardson. Original program written by Henry Spencer.
placeholder to suppress warning