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

MTU mismatch #22

Open
tuwid opened this issue Feb 28, 2020 · 0 comments
Open

MTU mismatch #22

tuwid opened this issue Feb 28, 2020 · 0 comments

Comments

@tuwid
Copy link

tuwid commented Feb 28, 2020

Fri Feb 28 10:40:41 2020 WARNING: normally if you use --mssfix and/or --fragment, you should also set --tun-mtu 1500 (currently it is 1440)
Fri Feb 28 10:44:42 2020 XXXXXX:57664 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1440', remote='tun-mtu 1376'

I'm getting these logs and the vpn disconnects after exactly 7 minutes with


28/02/2020 10:55:34Fri Feb 28 09:55:34 2020 TCP connection established with [AF_INET]XXX.XXX.XXX.XXX:56996
28/02/2020 10:55:34Fri Feb 28 09:55:34 2020 XXX.XXX.XXX.XXX:56996 WARNING: Bad encapsulated packet length from peer (18245), which must be > 0 and <= 1500 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
28/02/2020 10:55:34Fri Feb 28 09:55:34 2020 XXX.XXX.XXX.XXX:56996 Connection reset, restarting [0]
28/02/2020 10:55:34Fri Feb 28 09:55:34 2020 WARNING: normally if you use --mssfix and/or --fragment, you should also set --tun-mtu 1500 (currently it is 1440)
28/02/2020 10:55:34Fri Feb 28 09:55:34 2020 TCP connection established with [AF_INET]XXX.XXX.XXX.XXX:56997
28/02/2020 10:55:34Fri Feb 28 09:55:34 2020 XXX.XXX.XXX.XXX:56997 WARNING: Bad encapsulated packet length from peer (18245), which must be > 0 and <= 1500 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attempting restart...]
28/02/2020 10:55:34Fri Feb 28 09:55:34 2020 XXX.XXX.XXX.XXX:56997 Connection reset, restarting [0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant