fragmentation options patch



Hello,

our openvpn-server needs the following configuration parameters to be set in the client: 

tun-mtu 1500
fragment 1300
mssfix

the openvpn plugin for nm does not seem to support those. thus, i added an additional 'Fragmentation'-tab to the advanced configuration dialog for connection, where those options can be set. Importing the options from config files is also supported. The patch is based on the ubuntu karmic package (0.8git). 

to build a new binary on ubuntu karmic do the following:

create new directory and put fragmentation_options.patch in there.

apt-get install build-essential
apt-get build-dep network-manager-openvpn
apt-get source network-manager-openvpn
dpkg-source -x network-manager-openvpn_0.8~a~git.20091008t123607.7c184a9-0ubuntu1.dsc
patch -p0 < fragmentation_options.patch
cd network-manager-openvpn-0.8~a~git.20091008t123607.7c184a9-0ubuntu1
fakeroot debian/rules binary

greets,

magnus

Attachment: fragmentation_options.patch
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]