diff options
author | Daniil Baturin <daniil.baturin@vyatta.com> | 2011-11-01 00:51:16 +0700 |
---|---|---|
committer | Daniil Baturin <daniil.baturin@vyatta.com> | 2011-11-01 00:51:16 +0700 |
commit | a7219d871d43893550dddb37a05b75959a778dca (patch) | |
tree | 2fc67113e1d2fcfc4c522837a038dbe71c4f4d5b /templates/system/conntrack/timeout/udp/other/node.def | |
parent | 9b35afca77b5ec57b49a04284a1a906916eef1fa (diff) | |
download | vyatta-cfg-system-oxnard-nat-enhancements.tar.gz vyatta-cfg-system-oxnard-nat-enhancements.zip |
Rename "generic" timeout options to "other".oxnard-nat-enhancements
Diffstat (limited to 'templates/system/conntrack/timeout/udp/other/node.def')
-rw-r--r-- | templates/system/conntrack/timeout/udp/other/node.def | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/system/conntrack/timeout/udp/other/node.def b/templates/system/conntrack/timeout/udp/other/node.def new file mode 100644 index 00000000..0018f1c0 --- /dev/null +++ b/templates/system/conntrack/timeout/udp/other/node.def @@ -0,0 +1,13 @@ +type: u32 + +help: UDP generic timeout in seconds + +default: 30 + +val_help: u32:1-21474836; UDP generic timeout in seconds + +syntax:expression: ($VAR(@) >= 1 && $VAR(@) <= 21474836) ; "Value must be between 1 and 21474836" + +update: sudo sysctl -q -w net/netfilter/nf_conntrack_udp_timeout=$VAR(@) + +delete: sudo sysctl -q -w net/netfilter/nf_conntrack_udp_timeout=30 |