[snip] > > Anyway, regarding --mssfix: I dont want to work around the problem. > > I want to set correct tunnel MTU. An MTU such that: > > 1) large UDP packets (say, 7000 bytes) sent over tunnel link are cut into > > fragments of such size that, when encapsulated and sent over > > carrier link, do not exceed MTU of carrier path (in my case, 1500). > > Ideally, they should be equal to it. > > 2) TCP streams should use MSS which, again, results in sending full-sized > > packets over carrier link. > > This is possible with correct settings of --tun-mtu/--link-mtu, --fragment, > and --mssfix. > > James
I don't see that in my testing. --tun-mtu 1434 is maximum which does not violate (1). I will try setting --mssfix to value higher than 1434 to tweak TCP packet sizes. -- vda