Commit ef6b7a2e authored by Nicolas Wavrant's avatar Nicolas Wavrant

kvm: improve and rectify kvm's input json schema for parameter nat-rules

parent 3a57f8d0
...@@ -278,8 +278,9 @@ ...@@ -278,8 +278,9 @@
}, },
"nat-rules": { "nat-rules": {
"title": "List of rules for NAT of QEMU user mode network stack.", "title": "List of rules for NAT of QEMU user mode network stack.",
"description": "List of rules for NAT of QEMU user mode network stack, as comma-separated list of ports (with optional protocol). For each port specified, it will redirect port x of the VM (example: 80, udp:53) to the port x + 10000 of the public IPv6 (example: 10080, udp:10053). Defaults to \"22 80 443\". Ignored if \"use-tap\" parameter is enabled.", "description": "List of rules for NAT of QEMU user mode network stack, as space-separated list of ports (with optional protocol). For each port specified, it will redirect port x of the VM (example: \"80 udp:53\") to the port x + 10000 of the public IPv6 of the host (example: \"10080 udp:10053\"). Ignored if \"use-tap\" parameter is enabled.",
"type": "string" "type": "string",
"default": "22 80 443"
}, },
"nat-restrict-mode": { "nat-restrict-mode": {
"title": "Isolate the NAT Interface (No Internet access)", "title": "Isolate the NAT Interface (No Internet access)",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment