On Sunday 16 May 2004 23:49, James Yonan wrote:
> Denis,
>
> There are two ways of setting the MTU in OpenVPN, one is to use --tun-mtu
> which doesn't include any encapsulation overhead, the other is to use
> --link-mtu which sets the maximum encrypted UDP datagram size sent between
> OpenVPN daemo
[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
Denis Vlasenko said:
> On Sunday 16 May 2004 23:49, James Yonan wrote:
> > Denis,
> >
> > There are two ways of setting the MTU in OpenVPN, one is to use --tun-mtu
> > which doesn't include any encapsulation overhead, the other is to use
> > --link-mtu which sets the maximum encrypted UDP datagra
Denis,
There are two ways of setting the MTU in OpenVPN, one is to use --tun-mtu
which doesn't include any encapsulation overhead, the other is to use
--link-mtu which sets the maximum encrypted UDP datagram size sent between
OpenVPN daemons after encapsulation.
2.0 takes a different approach to
> Or maybe I'm mistaken and I shall set --link-mtu not to the value
> reported by 'ip a l dev eth0' (i.e. max IP packet size), but
> to the max *UDP* packet size? 1500-28=1472, then. Not every user
> knows IP overhead size. I don't. I looked at tcpdump to figure out.
"Double frag" bug does not hap
# dd if=/dev/zero count=1 bs=7000 | nc -nuvvv -w1 1.1.5.5 284
over tunnel:
11:09:20.930621 > 0800 1468: IP (tos 0x0, ttl 64, id 46021, offset 0, flags
[+], length: 1452) 1.1.5.6.1025 > 1.1.5.5.284: [bad udp cksum c815!] UDP,
length: 7000
11:09:20.930657 > 0800 1468: IP (tos 0x0, ttl 64, id 460