2016-06-11 21:29:34 +02:00
|
|
|
# NAT
|
|
|
|
|
2016-06-11 23:16:01 +02:00
|
|
|
**Namespace** : alphayax\freebox\api\v3\services\config\NAT
|
|
|
|
|
|
|
|
# Overview
|
|
|
|
|
2016-06-25 14:28:08 +02:00
|
|
|
- [PortForwarding](NAT.md#PortForwarding)
|
2016-06-11 23:16:01 +02:00
|
|
|
- [DMZ](NAT.md#DMZ)
|
|
|
|
- [IncomingPort](NAT.md#IncomingPort)
|
2016-06-11 21:29:34 +02:00
|
|
|
|
2016-06-11 23:16:01 +02:00
|
|
|
|
2016-06-25 14:28:08 +02:00
|
|
|
<a name="PortForwarding"></a>
|
|
|
|
## PortForwarding
|
|
|
|
|
|
|
|
**Class** : alphayax\freebox\api\v3\services\config\NAT\PortForwarding
|
|
|
|
|
|
|
|
### Public methods
|
|
|
|
|
|
|
|
| Method | Description |
|
|
|
|
|---|---|
|
|
|
|
| `getAll` | Getting the list of port forwarding |
|
|
|
|
| `getById` | Getting a specific port forwarding |
|
|
|
|
| `update` | Update a specific port forwarding |
|
|
|
|
| `add` | Add a port forwarding |
|
|
|
|
| `delete` | Delete a port forwarding |
|
|
|
|
| `deleteById` | Delete a port forwarding with the specified id |
|
|
|
|
|
2016-06-11 23:16:01 +02:00
|
|
|
<a name="DMZ"></a>
|
2016-06-11 21:29:34 +02:00
|
|
|
## DMZ
|
|
|
|
|
2016-06-11 23:16:01 +02:00
|
|
|
**Class** : alphayax\freebox\api\v3\services\config\NAT\DMZ
|
2016-06-11 21:29:34 +02:00
|
|
|
|
|
|
|
### Public methods
|
|
|
|
|
|
|
|
| Method | Description |
|
|
|
|
|---|---|
|
|
|
|
| `getConfiguration` | Get the current Dmz configuration |
|
|
|
|
| `setConfiguration` | Update the current Dmz configuration |
|
|
|
|
|
2016-06-11 23:16:01 +02:00
|
|
|
<a name="IncomingPort"></a>
|
2016-06-11 21:29:34 +02:00
|
|
|
## IncomingPort
|
|
|
|
|
2016-06-11 23:16:01 +02:00
|
|
|
**Class** : alphayax\freebox\api\v3\services\config\NAT\IncomingPort
|
2016-06-11 21:29:34 +02:00
|
|
|
|
|
|
|
### Public methods
|
|
|
|
|
|
|
|
| Method | Description |
|
|
|
|
|---|---|
|
|
|
|
| `getAll` | Getting the list of incoming ports |
|
2016-06-12 18:41:25 +02:00
|
|
|
| `getFromId` | Getting a specific incoming port |
|
2016-06-11 21:29:34 +02:00
|
|
|
| `update` | Updating an incoming port |
|