diff options
author | Micah Anderson <micah@leap.se> | 2014-11-13 15:11:51 -0500 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2014-11-13 15:11:51 -0500 |
commit | 8abcc784b0fe1daad22dfd1ca8ecd068723e965d (patch) | |
tree | 7cde33a828e6eaace0d30ae5e866d597a0f4ba31 /puppet/modules | |
parent | 54849ae1d7407b2a6fd2f7d801e80e1632c20c70 (diff) | |
parent | e18853b16969cb164613003edfab9a5b5800e099 (diff) |
Merge remote-tracking branch 'elijah/bugfix/mtu' into develop
Diffstat (limited to 'puppet/modules')
-rw-r--r-- | puppet/modules/site_openvpn/manifests/server_config.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/puppet/modules/site_openvpn/manifests/server_config.pp b/puppet/modules/site_openvpn/manifests/server_config.pp index 97cf2842..466f6d00 100644 --- a/puppet/modules/site_openvpn/manifests/server_config.pp +++ b/puppet/modules/site_openvpn/manifests/server_config.pp @@ -85,6 +85,18 @@ define site_openvpn::server_config( key => 'tcp-nodelay', server => $openvpn_configname; } + } elsif $proto == 'udp' { + if $config['fragment'] != 1500 { + openvpn::option { + "fragment ${openvpn_configname}": + key => 'fragment', + value => $config['fragment'], + server => $openvpn_configname; + "mssfix ${openvpn_configname}": + key => 'mssfix', + server => $openvpn_configname; + } + } } openvpn::option { |