Are you having trouble accessing your Samba shares between your laptop and PC over WiFi? It's possible that OpenVPN is intercepting the local Samba traffic, causing the connection to fail. In this article, we will guide you through the steps to resolve this issue on Windows.
What is OpenVPN?
OpenVPN is a popular open-source VPN (Virtual Private Network) software that allows you to create secure connections over the internet. It encrypts your network traffic and ensures your online privacy and security.
The Problem
When OpenVPN is installed and active on your Windows system, it may intercept the local Samba traffic between your laptop and PC over WiFi. This can prevent you from accessing your shared files and folders using Samba.
The Solution
To resolve this issue, you need to configure OpenVPN to exclude the local Samba traffic from being intercepted. Here's how:
- Open the OpenVPN configuration file on your Windows system. You can find it in the OpenVPN installation directory.
- Look for the
redirect-gatewayline in the configuration file. It may be commented out with a#symbol at the beginning. - Remove the
#symbol to uncomment the line. - Add the following line below the
redirect-gatewayline:route-nopull - Save the configuration file and restart the OpenVPN service.
By adding the route-nopull directive, you are instructing OpenVPN not to intercept the local Samba traffic.
Conclusion
Configuring OpenVPN to exclude local Samba traffic between your laptop and PC over WiFi should resolve the issue of not being able to access your shared files and folders. By following the steps mentioned above, you can ensure that OpenVPN does not interfere with your local network connections.
References
| Number | Source |
|---|---|
| 1 | OpenVPN Official Website |