This YANG module provides mappings of the CLI command structure to the underlying data-model elements for the Netgate router.
Copyright 2016-2023 Rubicon Communications, LLC.
Example URL
returns netgate.ipsec.IpsecConfig
netgate.ipsec.IpsecConfig
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates netgate.ipsec.IpsecConfig
netgate.ipsec.IpsecConfig to be added to list
netgate-ipsec:ipsec-config | object (netgate.ipsec.IpsecConfig) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.ipsec.IpsecConfig
netgate.ipsec.IpsecConfig to be added or updated
netgate-ipsec:ipsec-config-wrapper | object (netgate.ipsec.IpsecConfigWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.ipsec.IpsecConfig
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Global IPsec options.
netgate.ipsec.ipsecconfig.GlobalOptions
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/global-options" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Global IPsec options.
netgate.ipsec.ipsecconfig.GlobalOptions to be added to list
global-options | object (netgate.ipsec.ipsecconfig.GlobalOptions) |
Object created
Internal error
Object already exists
Example URL
Global IPsec options.
netgate.ipsec.ipsecconfig.GlobalOptions to be added or updated
netgate-ipsec:global-options-wrapper | object (netgate.ipsec.ipsecconfig.GlobalOptionsWrapper) |
Object created
Object modified
Internal error
Example URL
Global IPsec options.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/global-options" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
EAP-RADIUS plugin settings.
netgate.ipsec.ipsecconfig.globaloptions.EapRadius
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/global-options/eap-radius" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
EAP-RADIUS plugin settings.
netgate.ipsec.ipsecconfig.globaloptions.EapRadius to be added to list
eap-radius | object (netgate.ipsec.ipsecconfig.globaloptions.EapRadius) |
Object created
Internal error
Object already exists
Example URL
EAP-RADIUS plugin settings.
netgate.ipsec.ipsecconfig.globaloptions.EapRadius to be added or updated
netgate-ipsec:eap-radius-wrapper | object (netgate.ipsec.ipsecconfig.globaloptions.EapRadiusWrapper) |
Object created
Object modified
Internal error
Example URL
EAP-RADIUS plugin settings.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/global-options/eap-radius" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
RADIUS accounting settings.
netgate.ipsec.ipsecconfig.globaloptions.eapradius.Accounting
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/global-options/eap-radius/accounting" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
RADIUS accounting settings.
netgate.ipsec.ipsecconfig.globaloptions.eapradius.Accounting to be added to list
accounting | object (netgate.ipsec.ipsecconfig.globaloptions.eapradius.Accounting) |
Object created
Internal error
Object already exists
Example URL
RADIUS accounting settings.
netgate.ipsec.ipsecconfig.globaloptions.eapradius.Accounting to be added or updated
netgate-ipsec:accounting-wrapper | object (netgate.ipsec.ipsecconfig.globaloptions.eapradius.AccountingWrapper) |
Object created
Object modified
Internal error
Example URL
RADIUS accounting settings.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/global-options/eap-radius/accounting" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
IPsec tunnel configurations
netgate.ipsec.ipsecconfig.Tunnel to be added to list
tunnel | object (netgate.ipsec.ipsecconfig.Tunnel) |
Object created
Internal error
Object already exists
Example URL
IPsec tunnel configurations
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.Tunnel
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
IPsec tunnel configurations
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.Tunnel to be added or updated
netgate-ipsec:tunnel-wrapper | object (netgate.ipsec.ipsecconfig.TunnelWrapper) |
Object created
Object modified
Internal error
Example URL
IPsec tunnel configurations
instance required | integer <int64> Id of tunnel |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Tunnel cryptographic settings
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.Crypto
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Tunnel cryptographic settings
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.Crypto to be added to list
crypto | object (netgate.ipsec.ipsecconfig.tunnel.Crypto) |
Object created
Internal error
Object already exists
Example URL
Tunnel cryptographic settings
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.Crypto to be added or updated
netgate-ipsec:crypto-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.CryptoWrapper) |
Object created
Object modified
Internal error
Example URL
Tunnel cryptographic settings
instance required | integer <int64> Id of tunnel |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
returns netgate.ipsec.ipsecconfig.tunnel.crypto.Ike
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.Ike
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates netgate.ipsec.ipsecconfig.tunnel.crypto.Ike
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.Ike to be added to list
ike | object (netgate.ipsec.ipsecconfig.tunnel.crypto.Ike) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.ipsec.ipsecconfig.tunnel.crypto.Ike
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.Ike to be added or updated
netgate-ipsec:ike-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.IkeWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.ipsec.ipsecconfig.tunnel.crypto.Ike
instance required | integer <int64> Id of tunnel |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The auth data for an IKE peer
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.Authentication to be added to list
authentication | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.Authentication) |
Object created
Internal error
Object already exists
Example URL
The auth data for an IKE peer
instance required | integer <int64> Id of tunnel |
peer required | string Id of authentication |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.Authentication
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/authentication=%7Bpeer%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The auth data for an IKE peer
instance required | integer <int64> Id of tunnel |
peer required | string Id of authentication |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.Authentication to be added or updated
netgate-ipsec:authentication-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.AuthenticationWrapper) |
Object created
Object modified
Internal error
Example URL
The auth data for an IKE peer
instance required | integer <int64> Id of tunnel |
peer required | string Id of authentication |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/authentication=%7Bpeer%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
An authentication round for one peer.
instance required | integer <int64> Id of tunnel |
peer required | string Id of authentication |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.authentication.Round to be added to list
round | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.authentication.Round) |
Object created
Internal error
Object already exists
Example URL
An authentication round for one peer.
instance required | integer <int64> Id of tunnel |
peer required | string Id of authentication |
number required | integer <int32> Id of round |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.authentication.Round
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/authentication=%7Bpeer%7D/round=%7Bnumber%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
An authentication round for one peer.
instance required | integer <int64> Id of tunnel |
peer required | string Id of authentication |
number required | integer <int32> Id of round |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.authentication.Round to be added or updated
netgate-ipsec:round-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.authentication.RoundWrapper) |
Object created
Object modified
Internal error
Example URL
An authentication round for one peer.
instance required | integer <int64> Id of tunnel |
peer required | string Id of authentication |
number required | integer <int32> Id of round |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/authentication=%7Bpeer%7D/round=%7Bnumber%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Child (phase 2) SA.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.ChildSa to be added to list
child-sa | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.ChildSa) |
Object created
Internal error
Object already exists
Example URL
Child (phase 2) SA.
instance required | integer <int64> Id of tunnel |
name required | string Id of child-sa |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.ChildSa
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/child-sa=%7Bname%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Child (phase 2) SA.
instance required | integer <int64> Id of tunnel |
name required | string Id of child-sa |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.ChildSa to be added or updated
netgate-ipsec:child-sa-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.ChildSaWrapper) |
Object created
Object modified
Internal error
Example URL
Child (phase 2) SA.
instance required | integer <int64> Id of tunnel |
name required | string Id of child-sa |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/child-sa=%7Bname%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.Proposal
instance required | integer <int64> Id of tunnel |
name required | string Id of child-sa |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.Proposal to be added to list
proposal | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.Proposal) |
Object created
Internal error
Object already exists
Example URL
returns netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.Proposal
instance required | integer <int64> Id of tunnel |
name required | string Id of child-sa |
proposal-name required | string Id of proposal |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.Proposal
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/child-sa=%7Bname%7D/proposal=%7Bproposal-name%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates or updates netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.Proposal
instance required | integer <int64> Id of tunnel |
name required | string Id of child-sa |
proposal-name required | string Id of proposal |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.Proposal to be added or updated
netgate-ipsec:proposal-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.ProposalWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.Proposal
instance required | integer <int64> Id of tunnel |
name required | string Id of child-sa |
proposal-name required | string Id of proposal |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/child-sa=%7Bname%7D/proposal=%7Bproposal-name%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Specification of traffic which should be routed through an IPsec tunnel.
instance required | integer <int64> Id of tunnel |
name required | string Id of child-sa |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.TrafficSelector to be added to list
traffic-selector | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.TrafficSelector) |
Object created
Internal error
Object already exists
Example URL
Specification of traffic which should be routed through an IPsec tunnel.
instance required | integer <int64> Id of tunnel |
name required | string Id of child-sa |
ts-number required | integer <int32> Id of traffic-selector |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.TrafficSelector
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/child-sa=%7Bname%7D/traffic-selector=%7Bts-number%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Specification of traffic which should be routed through an IPsec tunnel.
instance required | integer <int64> Id of tunnel |
name required | string Id of child-sa |
ts-number required | integer <int32> Id of traffic-selector |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.TrafficSelector to be added or updated
netgate-ipsec:traffic-selector-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.childsa.TrafficSelectorWrapper) |
Object created
Object modified
Internal error
Example URL
Specification of traffic which should be routed through an IPsec tunnel.
instance required | integer <int64> Id of tunnel |
name required | string Id of child-sa |
ts-number required | integer <int32> Id of traffic-selector |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/child-sa=%7Bname%7D/traffic-selector=%7Bts-number%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The ID data for one peer in the SA
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.Identity to be added to list
identity | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.Identity) |
Object created
Internal error
Object already exists
Example URL
The ID data for one peer in the SA
instance required | integer <int64> Id of tunnel |
peer required | string Id of identity |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.Identity
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/identity=%7Bpeer%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The ID data for one peer in the SA
instance required | integer <int64> Id of tunnel |
peer required | string Id of identity |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.Identity to be added or updated
netgate-ipsec:identity-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.IdentityWrapper) |
Object created
Object modified
Internal error
Example URL
The ID data for one peer in the SA
instance required | integer <int64> Id of tunnel |
peer required | string Id of identity |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/identity=%7Bpeer%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Proposed parameters for IKE SA
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.Proposals to be added to list
proposals | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.Proposals) |
Object created
Internal error
Object already exists
Example URL
Proposed parameters for IKE SA
instance required | integer <int64> Id of tunnel |
name required | string Id of proposals |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.Proposals
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/proposals=%7Bname%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Proposed parameters for IKE SA
instance required | integer <int64> Id of tunnel |
name required | string Id of proposals |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.Proposals to be added or updated
netgate-ipsec:proposals-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.ProposalsWrapper) |
Object created
Object modified
Internal error
Example URL
Proposed parameters for IKE SA
instance required | integer <int64> Id of tunnel |
name required | string Id of proposals |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/proposals=%7Bname%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Configurations for remote access VPN
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.RemoteAccess
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/remote-access" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Configurations for remote access VPN
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.RemoteAccess to be added to list
remote-access | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.RemoteAccess) |
Object created
Internal error
Object already exists
Example URL
Configurations for remote access VPN
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.RemoteAccess to be added or updated
netgate-ipsec:remote-access-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.RemoteAccessWrapper) |
Object created
Object modified
Internal error
Example URL
Configurations for remote access VPN
instance required | integer <int64> Id of tunnel |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/remote-access" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Pools for assigning remote client addresses.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.AddressPools
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/remote-access/address-pools" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Pools for assigning remote client addresses.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.AddressPools to be added to list
address-pools | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.AddressPools) |
Object created
Internal error
Object already exists
Example URL
Pools for assigning remote client addresses.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.AddressPools to be added or updated
netgate-ipsec:address-pools-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.AddressPoolsWrapper) |
Object created
Object modified
Internal error
Example URL
Pools for assigning remote client addresses.
instance required | integer <int64> Id of tunnel |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/remote-access/address-pools" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Range of client virtual IPv4 addresses.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.addresspools.Ipv4Range
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/remote-access/address-pools/ipv4-range" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Range of client virtual IPv4 addresses.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.addresspools.Ipv4Range to be added to list
ipv4-range | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.addresspools.Ipv4Range) |
Object created
Internal error
Object already exists
Example URL
Range of client virtual IPv4 addresses.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.addresspools.Ipv4Range to be added or updated
netgate-ipsec:ipv4-range-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.addresspools.Ipv4RangeWrapper) |
Object created
Object modified
Internal error
Example URL
Range of client virtual IPv4 addresses.
instance required | integer <int64> Id of tunnel |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/remote-access/address-pools/ipv4-range" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Range of client virtual IPv6 addresses.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.addresspools.Ipv6Range
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/remote-access/address-pools/ipv6-range" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Range of client virtual IPv6 addresses.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.addresspools.Ipv6Range to be added to list
ipv6-range | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.addresspools.Ipv6Range) |
Object created
Internal error
Object already exists
Example URL
Range of client virtual IPv6 addresses.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.addresspools.Ipv6Range to be added or updated
netgate-ipsec:ipv6-range-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.addresspools.Ipv6RangeWrapper) |
Object created
Object modified
Internal error
Example URL
Range of client virtual IPv6 addresses.
instance required | integer <int64> Id of tunnel |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/remote-access/address-pools/ipv6-range" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
DNS configurations.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.Dns
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/remote-access/dns" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
DNS configurations.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.Dns to be added to list
dns | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.Dns) |
Object created
Internal error
Object already exists
Example URL
DNS configurations.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.Dns to be added or updated
netgate-ipsec:dns-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.DnsWrapper) |
Object created
Object modified
Internal error
Example URL
DNS configurations.
instance required | integer <int64> Id of tunnel |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/remote-access/dns" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Address of DNS resolvers to be used by clients.
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.dns.Resolver to be added to list
resolver | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.dns.Resolver) |
Object created
Internal error
Object already exists
Example URL
Address of DNS resolvers to be used by clients.
instance required | integer <int64> Id of tunnel |
res-number required | integer <int32> Id of resolver |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.dns.Resolver
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/remote-access/dns/resolver=%7Bres-number%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Address of DNS resolvers to be used by clients.
instance required | integer <int64> Id of tunnel |
res-number required | integer <int32> Id of resolver |
netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.dns.Resolver to be added or updated
netgate-ipsec:resolver-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ike.remoteaccess.dns.ResolverWrapper) |
Object created
Object modified
Internal error
Example URL
Address of DNS resolvers to be used by clients.
instance required | integer <int64> Id of tunnel |
res-number required | integer <int32> Id of resolver |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/ike/remote-access/dns/resolver=%7Bres-number%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
returns netgate.ipsec.ipsecconfig.tunnel.crypto.Manual
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.Manual
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/manual" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates netgate.ipsec.ipsecconfig.tunnel.crypto.Manual
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.Manual to be added to list
manual | object (netgate.ipsec.ipsecconfig.tunnel.crypto.Manual) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.ipsec.ipsecconfig.tunnel.crypto.Manual
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.Manual to be added or updated
netgate-ipsec:manual-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.ManualWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.ipsec.ipsecconfig.tunnel.crypto.Manual
instance required | integer <int64> Id of tunnel |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/manual" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
returns netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Encryption
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Encryption
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/manual/encryption" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Encryption
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Encryption to be added to list
encryption | object (netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Encryption) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Encryption
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Encryption to be added or updated
netgate-ipsec:encryption-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.manual.EncryptionWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Encryption
instance required | integer <int64> Id of tunnel |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/manual/encryption" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
returns netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Integrity
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Integrity
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/manual/integrity" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
creates netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Integrity
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Integrity to be added to list
integrity | object (netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Integrity) |
Object created
Internal error
Object already exists
Example URL
creates or updates netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Integrity
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Integrity to be added or updated
netgate-ipsec:integrity-wrapper | object (netgate.ipsec.ipsecconfig.tunnel.crypto.manual.IntegrityWrapper) |
Object created
Object modified
Internal error
Example URL
removes netgate.ipsec.ipsecconfig.tunnel.crypto.manual.Integrity
instance required | integer <int64> Id of tunnel |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-config/tunnel=%7Binstance%7D/crypto/manual/integrity" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Operational state data for IPsec.
netgate.ipsec.IpsecState
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-state" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
IPsec tunnel
instance required | integer <int64> Id of tunnel |
netgate.ipsec.ipsecstate.Tunnel
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-state/tunnel=%7Binstance%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
IKE SA
instance required | integer <int64> Id of tunnel |
ike-unique-id required | integer <int64> Id of ike-sa |
netgate.ipsec.ipsecstate.tunnel.IkeSa
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-state/tunnel=%7Binstance%7D/ike-sa=%7Bike-unique-id%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Child SA
instance required | integer <int64> Id of tunnel |
ike-unique-id required | integer <int64> Id of ike-sa |
name required | string Id of child-sa |
netgate.ipsec.ipsecstate.tunnel.ikesa.ChildSa
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-state/tunnel=%7Binstance%7D/ike-sa=%7Bike-unique-id%7D/child-sa=%7Bname%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Child SA instance
instance required | integer <int64> Id of tunnel |
ike-unique-id required | integer <int64> Id of ike-sa |
name required | string Id of child-sa |
unique-id required | integer <int64> Id of sa |
netgate.ipsec.ipsecstate.tunnel.ikesa.childsa.Sa
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-state/tunnel=%7Binstance%7D/ike-sa=%7Bike-unique-id%7D/child-sa=%7Bname%7D/sa=%7Bunique-id%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Cryptographic Parameters
instance required | integer <int64> Id of tunnel |
ike-unique-id required | integer <int64> Id of ike-sa |
name required | string Id of child-sa |
unique-id required | integer <int64> Id of sa |
netgate.ipsec.ipsecstate.tunnel.ikesa.childsa.sa.Crypto
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-state/tunnel=%7Binstance%7D/ike-sa=%7Bike-unique-id%7D/child-sa=%7Bname%7D/sa=%7Bunique-id%7D/crypto" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
SA status
instance required | integer <int64> Id of tunnel |
ike-unique-id required | integer <int64> Id of ike-sa |
name required | string Id of child-sa |
unique-id required | integer <int64> Id of sa |
netgate.ipsec.ipsecstate.tunnel.ikesa.childsa.sa.Status
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-state/tunnel=%7Binstance%7D/ike-sa=%7Bike-unique-id%7D/child-sa=%7Bname%7D/sa=%7Bunique-id%7D/status" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Cryptographic Parameters
instance required | integer <int64> Id of tunnel |
ike-unique-id required | integer <int64> Id of ike-sa |
netgate.ipsec.ipsecstate.tunnel.ikesa.Crypto
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-state/tunnel=%7Binstance%7D/ike-sa=%7Bike-unique-id%7D/crypto" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
SA status
instance required | integer <int64> Id of tunnel |
ike-unique-id required | integer <int64> Id of ike-sa |
netgate.ipsec.ipsecstate.tunnel.ikesa.Status
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-ipsec:ipsec-state/tunnel=%7Binstance%7D/ike-sa=%7Bike-unique-id%7D/status" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
operates on netgate.ipsec.IkeControl
input | object (netgate.ipsec.ikecontrol.Input) |
Correct response
No response
Internal error
Example URL
operates on netgate.ipsec.IkeCoredump
input | object (netgate.ipsec.ikecoredump.Input) |
Correct response
No response
Internal error