xjasonlyu / tun2socks

tun2socks - powered by gVisor TCP/IP stack
https://github.com/xjasonlyu/tun2socks/wiki
GNU General Public License v3.0
2.86k stars 407 forks source link

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

Closed atong027 closed 3 years ago

atong027 commented 3 years ago

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 commented 3 years ago

Which platform you're running?

xjasonlyu commented 3 years ago

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

slrslr commented 7 months ago

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

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