Skip to content

Commit

Permalink
[req-changes] Updated WireGuard MTU
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Aug 23, 2024
1 parent 6773531 commit 85db947
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/backends/wireguard.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ key name type default allowed values
``port`` integer ``51820`` integers
``private_key`` string base64-encoded private key
``dns`` list ``[]`` list of strings containing DNS servers
``mtu`` integer ``1280`` MTU set on the interface
``mtu`` integer ``1420`` Interface MTU, set to 1280 if using IPv6
``table`` string ``auto`` Controls the routing table to which routes are
added
``pre_up`` string Script snippet which will be executed before
Expand Down
3 changes: 2 additions & 1 deletion netjsonconfig/backends/wireguard/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"title": "MTU",
"minimum": 68,
"propertyOrder": 5,
"default": 1280,
"default": 1420,
"description": ("Interface MTU, set to 1280 if using IPv6."),
},
"table": {
"title": "Table",
Expand Down

0 comments on commit 85db947

Please sign in to comment.