mirror of
https://github.com/opnsense/docs
synced 2024-11-18 21:28:29 +00:00
56 lines
2.6 KiB
ReStructuredText
56 lines
2.6 KiB
ReStructuredText
Wireguard
|
|
~~~~~~~~~
|
|
|
|
.. csv-table:: Resources (ClientController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``POST``","wireguard","client","addClient",""
|
|
"``POST``","wireguard","client","delClient","$uuid"
|
|
"``GET``","wireguard","client","get",""
|
|
"``GET``","wireguard","client","getClient","$uuid=null"
|
|
"``*``","wireguard","client","searchClient",""
|
|
"``GET``","wireguard","client","set",""
|
|
"``POST``","wireguard","client","setClient","$uuid"
|
|
"``POST``","wireguard","client","toggleClient","$uuid"
|
|
|
|
"``<<uses>>``", "", "", "", "*model* `Client.xml <https://github.com/opnsense/plugins/blob/master/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/Client.xml>`__"
|
|
|
|
.. csv-table:: Service (GeneralController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``GET``","wireguard","general","get",""
|
|
"``GET``","wireguard","general","set",""
|
|
|
|
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/General.xml>`__"
|
|
|
|
.. csv-table:: Resources (ServerController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``POST``","wireguard","server","addServer","$uuid=null"
|
|
"``POST``","wireguard","server","delServer","$uuid"
|
|
"``GET``","wireguard","server","get",""
|
|
"``GET``","wireguard","server","getServer","$uuid=null"
|
|
"``*``","wireguard","server","searchServer",""
|
|
"``GET``","wireguard","server","set",""
|
|
"``POST``","wireguard","server","setServer","$uuid=null"
|
|
"``POST``","wireguard","server","toggleServer","$uuid"
|
|
|
|
"``<<uses>>``", "", "", "", "*model* `Server.xml <https://github.com/opnsense/plugins/blob/master/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/Server.xml>`__"
|
|
|
|
.. csv-table:: Service (ServiceController.php)
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
"``GET``","wireguard","service","reconfigure",""
|
|
"``GET``","wireguard","service","restart",""
|
|
"``GET``","wireguard","service","showconf",""
|
|
"``GET``","wireguard","service","showhandshake",""
|
|
"``GET``","wireguard","service","start",""
|
|
"``GET``","wireguard","service","status",""
|
|
"``GET``","wireguard","service","stop",""
|
|
|
|
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/General.xml>`__"
|