NAME
Device::Firewall::PaloAlto::Op::Tunnel - Palo Alto IPSEC tunnel
VERSION
version 0.1.9
SYNOPSIS
DESCRIPTION
This object represents an IPSEC tunnel, including both phase 1 (IKE / IKEv2) and phase 2 parameters.
METHODS
p1_params
Returns a list of the parameters negotiated in phase 1. The parameters are authentication method, Diffie-Helman group, encryption algorithm, and hash algorithm.
my ($auth, $dh_grp, $enc, $hash) = $fw->op->tunnels->gw('remote_site')->p1_params();
p2_params
Returns a list of the parameters negotiated in phase 1. The parameters are transport, encryption algorithm, and hash algorithm.
my ($transport, $enc, $hash) = $fw->op->tunnels->gw('remote_site')->p2_params();
remote_ip
The remote IP address of the peer.
gateway
The name of the IKE gateway used by this tunnel.
spis
Returns a list containing the input and output SPIs for phase 2. The first element is the input SPI, and the second element is the output SPI.
my ($input_spi, $output_spi) = $fw->op->tunnels->gw('remote_site')->spis();
AUTHOR
Greg Foletta <greg@foletta.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2019 by Greg Foletta.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.