Class IPsecTunnel
-
IPsecTunnel
uses
InterfaceType,
XmlConvertible,
PathableName,
ReferenceableObject
Located at network-classes/IPsecTunnel.php
Methods summary
public
|
#
__construct( string $name, IPsecTunnelStore $owner )
IPsecTunnel constructor.
Parameters
|
public
|
|
public
string[][]
|
#
proxyIdList( )
line structure: Array('local' => $local->nodeValue, 'remote' =>
$remote->nodeValue, 'xmlroot' => $proxyNode );
line structure: Array('local' => $local->nodeValue, 'remote' =>
$remote->nodeValue, 'xmlroot' => $proxyNode );
Returns
string[][]
|
public
string[]|null
|
#
searchProxyIdLine( string $local, string $remote )
Parameters
- $local
string $local
- $remote
string $remote
Returns
string[]|null
|
public
boolean
|
#
hasProxyId( string $local, string $remote )
Parameters
- $local
string $local
- $remote
string $remote
Returns
boolean
|
public
string
|
#
findAvailableProxyIdName( string $baseName )
Parameters
- $baseName
string $baseName
Returns
string
|
public
boolean
|
#
removeProxyId( string $local, string $remote )
Parameters
- $local
string $local
- $remote
string $remote
Returns
boolean
|
public
boolean
|
#
addProxyId( string $local, string $remote, null|string $name = null )
Parameters
- $local
string $local
- $remote
string $remote
- $name
null|string $name
Returns
boolean
|
public
boolean
|
#
setName( string $name )
return true if change was successful false if not (duplicate IPsectunnel
name?)
return true if change was successful false if not (duplicate IPsectunnel
name?)
Parameters
- $name
string $name new name for the IPsecTunnel
Returns
boolean
|
public
|
#
setIKEGateway( mixed $gateway_name )
|
public
|
#
setProposal( mixed $proposal )
|
public
|
#
setInterface( mixed $interface )
|
public
|
#
referencedObjectRenamed( mixed $h )
|
public
|
#
rewriteInterface_XML( )
|
public
|
|
public
|
#
setDisabled( mixed $bool )
|
public
|
|
public
|
|
Methods used from ReferenceableObject
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
(),
()
|
Properties summary
public
null|string[]|DOMElement
|
$typeRoot |
null |
|
public
null|string[]|DOMElement
|
$proxyIdRoot |
null |
|
public
null|string[]|DOMElement
|
$proxyIdRootv6 |
null |
|
public
string
|
$type |
'notfound' |
|
public
null|string[]|DOMElement
|
$gateway |
'notfound' |
|
public
null|string[]|DOMElement
|
$protocol |
'notfound' |
|
public
null|string[]|DOMElement
|
$protocol_local |
'notfound' |
|
public
null|string[]|DOMElement
|
$protocol_remote |
'notfound' |
|
public
array
|
$proxys |
array() |
|
public
mixed
|
$proposal |
null |
|
public
mixed
|
$interface |
null |
|
public
mixed
|
$localIP |
null |
|
public
mixed
|
$remoteIP |
null |
|
public
string
|
$disabled |
"no" |
|
public static
string
|
$templatexml |
'<entry name="**temporarynamechangeme**">
<auto-key>
<ike-gateway>
<entry name="**temporaryIKEGateway**"/>
</ike-gateway>
<ipsec-crypto-profile>default</ipsec-crypto-profile>
<proxy-id></proxy-id>
</auto-key>
<tunnel-monitor>
<enable>no</enable>
</tunnel-monitor>
<tunnel-interface></tunnel-interface>
<anti-replay>yes</anti-replay>
<copy-tos>no</copy-tos>
<disabled>no</disabled>
</entry>' |
|