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

failed to set MTU of TUN device: invalid argument #33

Closed
atong027 opened this issue Mar 1, 2021 · 3 comments
Closed

failed to set MTU of TUN device: invalid argument #33

atong027 opened this issue Mar 1, 2021 · 3 comments

Comments

@atong027
Copy link

atong027 commented Mar 1, 2021

root@p722:/online # ./tun2socks -device tun://tun0 -proxy socks5://127.0.0.1:10808
FATA[0000] Failed to start engine: create tun: failed to set MTU of TUN device: invalid argument

@xjasonlyu
Copy link
Owner

Which platform you're running?

@xjasonlyu
Copy link
Owner

temporary workaround: add MTU, e.g. -mtu 1500

@slrslr
Copy link

slrslr commented Nov 13, 2023

temporary workaround: add MTU, e.g. -mtu 1500

I am also getting create tun "invalid argument" error and Yours mentioned -mtu not prevented it.

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

3 participants