Commit daed799b authored by Julien Muchembled's avatar Julien Muchembled

Lower MTU for UDPv4 tunnels behind SFR ADSL (France)

parent ab7f8d95
...@@ -23,8 +23,7 @@ def openvpn(iface, encrypt, *args, **kw): ...@@ -23,8 +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)
# tested in a LAN with a switch and wired/wireless interfaces (mtu 1500) ovpn_link_mtu_dict = {'udp': 1481, 'udp6': 1450}
ovpn_link_mtu_dict = {'udp': 1490, 'udp6': 1450}
def server(iface, max_clients, dh_path, pipe_fd, port, proto, encrypt, *args, **kw): def server(iface, max_clients, dh_path, pipe_fd, port, proto, encrypt, *args, **kw):
client_script = '%s %s' % (ovpn_server, pipe_fd) client_script = '%s %s' % (ovpn_server, pipe_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