Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用ssh在openvpn,大流量会卡死 #17

Open
myml opened this issue Jul 31, 2018 · 0 comments
Open

使用ssh在openvpn,大流量会卡死 #17

myml opened this issue Jul 31, 2018 · 0 comments
Labels

Comments

@myml
Copy link
Owner

myml commented Jul 31, 2018

在openvpn中使用ssh,在大流量传输时会卡死,这个大流量是类似命令行一次性输出较多内容(比如用vim打开文件)。这个是因为tun0这个虚拟网卡设备的mtu比openvpn服务器设置的值要大,ssh数据被丢弃。
临时解决方法ipconfig tun0 mtu 1200 (之前默认1500)
永久生效需要修改openvpn配置文件,加入mssfix 1200

@myml myml added the system label Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant