New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openVPN 2.6.x : Issues with WINS, Netbios fails #373
Comments
Hi, What has changed is that starting from 2.6 the default driver is now DCO, which doesn't do DHCP. I just checked the code and it looks like WINS works with DCO only when openvpn doesn't use interactive service. In this case we apply network settings by invoking
With interactive service (which is the default setup) we modify network settings by the privileged service, while openvpn process is running under limited privileges. Apparently we just lack the code which passes WINS settings from openvpn to the service process. This will be fixed in the next, 2.6.6, release. Until that (I would say few weeks) if you need WINS you might want to disable DCO by adding Thanks for reporting this. |
Your workaround is working fine. Thanks a lot. |
At the moments WINS servers are set either: - via DHCP, which works only for tap-windows6 driver - via netsh when running without interactice service This means that in 2.6 default setup (interactive service and dco) WINS is silently ignored. Add WINS support for non-DHCP drivers (like dco) by passing WINS settings to interactive service and set them there with netsh call, similar approach as we use for setting DNS. Fixes OpenVPN#373 Change-Id: I47c22dcb728011dcedaae47cd03a57219e9c7607 Signed-off-by: Lev Stipakov <lev@openvpn.net>
At the moments WINS servers are set either: - via DHCP, which works only for tap-windows6 driver - via netsh when running without interactice service This means that in 2.6 default setup (interactive service and dco) WINS is silently ignored. Add WINS support for non-DHCP drivers (like dco) by passing WINS settings to interactive service and set them there with netsh call, similar approach as we use for setting DNS. Fixes OpenVPN#373 Change-Id: I47c22dcb728011dcedaae47cd03a57219e9c7607 Signed-off-by: Lev Stipakov <lev@openvpn.net>
At the moments WINS servers are set either: - via DHCP, which works only for tap-windows6 driver - via netsh when running without interactice service This means that in 2.6 default setup (interactive service and dco) WINS is silently ignored. Add WINS support for non-DHCP drivers (like dco) by passing WINS settings to interactive service and set them there with netsh call, similar approach as we use for setting DNS. Fixes OpenVPN#373 Change-Id: I47c22dcb728011dcedaae47cd03a57219e9c7607 Signed-off-by: Lev Stipakov <lev@openvpn.net>
At the moments WINS servers are set either: - via DHCP, which works only for tap-windows6 driver - via netsh when running without interactice service This means that in 2.6 default setup (interactive service and dco) WINS is silently ignored. Add WINS support for non-DHCP drivers (like dco) by passing WINS settings to interactive service and set them there with netsh call, similar approach as we use for setting DNS. Fixes OpenVPN/openvpn#373 Change-Id: I47c22dcb728011dcedaae47cd03a57219e9c7607 Signed-off-by: Lev Stipakov <lev@openvpn.net> Acked-by: Frank Lichtenheld <frank@lichtenheld.com> Message-Id: <20230728131246.694-1-lstipakov@gmail.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26903.html Signed-off-by: Gert Doering <gert@greenie.muc.de> (cherry picked from commit 18826de)
Hi,
I noticed problems with using the openVPN 2.6.x client on Windows PC (Windows 10).
Prior to this I used version 2.5.9 and everything worked fine.
But since version 2.6.x there are issues with resolving Netbios names and connecting to Samba share via Netbios name fails now.
The openVPN server pushes WINS Server IP to client via dhcp-options but it is no longer registered on Windows client when using version 2.6.x. ipconfig shows WINS-Server is defined with version 2.5.9 but none with version 2.6.x.
Are there any config changes for Netbios support since 2.6?
Or is this feature no longer supported?
The text was updated successfully, but these errors were encountered: