Commit ab3300c3 authored by Julien Muchembled's avatar Julien Muchembled

Lower again MTU for UDPv4 tunnels

parent 15471c01
...@@ -23,7 +23,7 @@ def openvpn(iface, encrypt, *args, **kw): ...@@ -23,7 +23,7 @@ def openvpn(iface, encrypt, *args, **kw):
logging.debug('%r', args) logging.debug('%r', args)
return utils.Popen(args, **kw) return utils.Popen(args, **kw)
ovpn_link_mtu_dict = {'udp': 1481, 'udp6': 1450} ovpn_link_mtu_dict = {'udp': 1434, 'udp6': 1450}
def server(iface, max_clients, dh_path, fd, port, proto, encrypt, *args, **kw): def server(iface, max_clients, dh_path, fd, port, proto, encrypt, *args, **kw):
client_script = '%s %s' % (ovpn_server, fd) client_script = '%s %s' % (ovpn_server, fd)
......
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