|
|
Bernhard, Try the --mssfix option. When set properly it can reduce fragmentation on TCP connections which run over the tunnel. James Bernhard Gustl Bauer <gustl@xxxxxxxxxx> said: > Hello, > > I have an tunnel running with these settings: > > /usr/sbin/openvpn --tun-mtu 1500 --tun-mtu-extra 64 --dev tap0 \ > --ping 40 --remote $BR_REM_IP_2 --float --daemon \ > --verb 3 > > This tunnel goes over a wlan. When I transmit data without tunnel I get > a netto rate of 5MBit/s. When I use the tunnel I get 3,7 MBit/s. So the > tunnel eats about 25% data rate. Is this normal? I don't think so. > > I don't use any compression, so this shouldn't be a problem of cpu speed. > > So I tried to figure whats wrong. Maybe the mtu's are not ideal. The > wlan interface I use has a mtu of 1500. I looked after mtu in the man > page and tried: > > --tun-mtu 1436 --tun-mtu-extra 64 > > --link-mtu 1500 --tun-mtu-extra 64 > > --link-mtu 1500 > > All 3 combinations didn't work. > > Maybe someone can give me a hint what's wrong. > > regards > > Gustl > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Openvpn-users mailing list > Openvpn-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/openvpn-users > -- ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |