Hi, On Tue, May 10, 2011 at 03:31:56PM +0200, Jan Just Keijser wrote: > Seth Mos wrote: > > Here is the tun.c patch for correction of the netsh.exe commands. > > > > I've confirmed that the patch works on Windows XP SP2 and Windows 7. > > > > Patch! > > http://iserv.nl/files/pfsense/0001-Change-the-netsh.exe-command-from-add-to-set-.-Th.patch > > please explain the rationale behind this patch: is something wrong when > using 'ipv6 add address' ?
Without "store=active", address assignment is "sticky" and will even
survive reboots - thus making the next tunnel setup fail, because the
address is already there. On WinXP, that was not needed, but Win7 seems
to have changed the default.
> why is the patch applied only for IPv6 addresses?
OpenVPN by default doesn't use netsh to configure IPv4 - so it might be
necessary there as well, but didn't show up yet. For IPv6, there is only
a single method of configuration - netsh - and that breaks on Win7
otherwise.
I have not yet tested this, but Seth has, both on XP and Win7, so "ACK!"...
David: I think it's easiest in this case if I integrate it, and then send
it to you. It needs to go to my "based on 2.2" branch as well.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
pgp47vKuupfOh.pgp
Description: PGP signature
