Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
re6stnet
Commits
daed799b
Commit
daed799b
authored
Nov 03, 2014
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lower MTU for UDPv4 tunnels behind SFR ADSL (France)
parent
ab7f8d95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
re6st/plib.py
re6st/plib.py
+1
-2
No files found.
re6st/plib.py
View file @
daed799b
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment