mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Nat node use port 0
This commit is contained in:
3 files changed
+5
-5
No files matched your search
@@ -42,7 +42,7 @@ class Nat(Cloud):
|
||||
"name": "nat0",
|
||||
"type": "ethernet",
|
||||
"interface": "eth1",
|
||||
"port_number": 1
|
||||
"port_number": 0
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ PORT_OBJECT_SCHEMA = {
|
||||
"port_number": {
|
||||
"description": "Port number",
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 0
|
||||
},
|
||||
"type": {
|
||||
"description": "Port type",
|
||||
@@ -58,7 +58,7 @@ PORT_OBJECT_SCHEMA = {
|
||||
"port_number": {
|
||||
"description": "Port number",
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 0
|
||||
},
|
||||
"type": {
|
||||
"description": "Port type",
|
||||
@@ -84,7 +84,7 @@ PORT_OBJECT_SCHEMA = {
|
||||
"port_number": {
|
||||
"description": "Port number",
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
"minimum": 0
|
||||
},
|
||||
"type": {
|
||||
"description": "Port type",
|
||||
|
||||
Reference in new issue
Block a user