2020-02-16 15:11:37 +00:00
|
|
|
Wireguard
|
2018-09-22 09:27:11 +00:00
|
|
|
~~~~~~~~~
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
.. csv-table:: Resources (ClientController.php)
|
2018-09-22 09:27:11 +00:00
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
"``POST``","wireguard","client","addClient",""
|
|
|
|
"``POST``","wireguard","client","delClient","$uuid"
|
2021-03-08 11:22:26 +00:00
|
|
|
"``GET``","wireguard","client","get",""
|
2020-02-16 15:11:37 +00:00
|
|
|
"``GET``","wireguard","client","getClient","$uuid=null"
|
|
|
|
"``*``","wireguard","client","searchClient",""
|
2022-10-19 15:21:08 +00:00
|
|
|
"``POST``","wireguard","client","set",""
|
2020-02-16 15:11:37 +00:00
|
|
|
"``POST``","wireguard","client","setClient","$uuid"
|
|
|
|
"``POST``","wireguard","client","toggleClient","$uuid"
|
2018-09-22 09:27:11 +00:00
|
|
|
|
2020-04-07 18:48:40 +00:00
|
|
|
"``<<uses>>``", "", "", "", "*model* `Client.xml <https://github.com/opnsense/plugins/blob/master/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/Client.xml>`__"
|
|
|
|
|
2021-03-08 11:22:26 +00:00
|
|
|
.. csv-table:: Service (GeneralController.php)
|
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
|
|
|
"``GET``","wireguard","general","get",""
|
2022-11-24 18:06:26 +00:00
|
|
|
"``GET``","wireguard","general","getStatus",""
|
2022-10-19 15:21:08 +00:00
|
|
|
"``POST``","wireguard","general","set",""
|
2021-03-08 11:22:26 +00:00
|
|
|
|
|
|
|
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/General.xml>`__"
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
.. csv-table:: Resources (ServerController.php)
|
2018-09-22 09:27:11 +00:00
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
"``POST``","wireguard","server","addServer","$uuid=null"
|
|
|
|
"``POST``","wireguard","server","delServer","$uuid"
|
2021-03-08 11:22:26 +00:00
|
|
|
"``GET``","wireguard","server","get",""
|
2020-02-16 15:11:37 +00:00
|
|
|
"``GET``","wireguard","server","getServer","$uuid=null"
|
|
|
|
"``*``","wireguard","server","searchServer",""
|
2022-10-19 15:21:08 +00:00
|
|
|
"``POST``","wireguard","server","set",""
|
2020-02-16 15:11:37 +00:00
|
|
|
"``POST``","wireguard","server","setServer","$uuid=null"
|
|
|
|
"``POST``","wireguard","server","toggleServer","$uuid"
|
2018-09-22 09:27:11 +00:00
|
|
|
|
2020-04-07 18:48:40 +00:00
|
|
|
"``<<uses>>``", "", "", "", "*model* `Server.xml <https://github.com/opnsense/plugins/blob/master/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/Server.xml>`__"
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
.. csv-table:: Service (ServiceController.php)
|
2018-09-22 09:27:11 +00:00
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
2022-10-19 15:21:08 +00:00
|
|
|
"``POST``","wireguard","service","reconfigure",""
|
|
|
|
"``POST``","wireguard","service","restart",""
|
2020-02-16 15:11:37 +00:00
|
|
|
"``GET``","wireguard","service","showconf",""
|
|
|
|
"``GET``","wireguard","service","showhandshake",""
|
2022-10-19 15:21:08 +00:00
|
|
|
"``POST``","wireguard","service","start",""
|
2021-03-08 11:22:26 +00:00
|
|
|
"``GET``","wireguard","service","status",""
|
2022-10-19 15:21:08 +00:00
|
|
|
"``POST``","wireguard","service","stop",""
|
2020-04-07 18:48:40 +00:00
|
|
|
|
|
|
|
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/General.xml>`__"
|