Cannot connect to local SMB Share - how to ignore local traffic?

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Thomin
OpenVpn Newbie
Posts: 8
Joined: Wed Oct 19, 2016 12:35 pm

Cannot connect to local SMB Share - how to ignore local traffic?

Post by Thomin » Wed Oct 19, 2016 12:38 pm

Hi everyone!

Well, the topic says it all pretty much.

While connected with OpenVPN on my Android to a VPN Server I cannot see or connect to a local SMB Share (on a NAS-Drive).

I guess this is because even local traffic is routed through the VPN?

Is there a way to fix this on Android?

Thanks!

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Cannot connect to local SMB Share - how to ignore local traffic?

Post by TinCanTech » Wed Oct 19, 2016 12:56 pm

It depends on which VPN server you are connected to ..

Thomin
OpenVpn Newbie
Posts: 8
Joined: Wed Oct 19, 2016 12:35 pm

Re: Cannot connect to local SMB Share - how to ignore local traffic?

Post by Thomin » Wed Oct 19, 2016 3:58 pm

would you please care to elaborate on that? Is it a parameter that is defined in the configs?

Thomin
OpenVpn Newbie
Posts: 8
Joined: Wed Oct 19, 2016 12:35 pm

Re: Cannot connect to local SMB Share - how to ignore local traffic?

Post by Thomin » Fri Oct 21, 2016 10:28 am

I would be very grateful for any hints :)

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Cannot connect to local SMB Share - how to ignore local traffic?

Post by TinCanTech » Fri Oct 21, 2016 10:49 am

I refer you to my last comment ..

Thomin
OpenVpn Newbie
Posts: 8
Joined: Wed Oct 19, 2016 12:35 pm

Re: Cannot connect to local SMB Share - how to ignore local traffic?

Post by Thomin » Fri Oct 21, 2016 11:24 am

Still, you speak in riddles. I require substantial help.

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Cannot connect to local SMB Share - how to ignore local traffic?

Post by TinCanTech » Fri Oct 21, 2016 12:21 pm

TinCanTech wrote:It depends on which VPN server you are connected to ..
It is a simple enough question ..

Thomin
OpenVpn Newbie
Posts: 8
Joined: Wed Oct 19, 2016 12:35 pm

Re: Cannot connect to local SMB Share - how to ignore local traffic?

Post by Thomin » Fri Oct 21, 2016 2:02 pm

I'm not quite sure what kind of data your require. I assume you refer to the protocol? Here is what I deem relevant:

Protocol: TCPv4
Port: 443

from the config:

dev tun
nobin
persist-key
persist-tun
remote-cert-tls server

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Cannot connect to local SMB Share - how to ignore local traffic?

Post by TinCanTech » Fri Oct 21, 2016 10:42 pm

nobin :?: :ugeek:

Thomin
OpenVpn Newbie
Posts: 8
Joined: Wed Oct 19, 2016 12:35 pm

Re: Cannot connect to local SMB Share - how to ignore local traffic?

Post by Thomin » Sat Oct 22, 2016 10:41 am

sorry - I misstyped. Its meant to be "nobind"

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Cannot connect to local SMB Share - how to ignore local traffic?

Post by TinCanTech » Sat Oct 22, 2016 2:15 pm


Thomin
OpenVpn Newbie
Posts: 8
Joined: Wed Oct 19, 2016 12:35 pm

Re: Cannot connect to local SMB Share - how to ignore local traffic?

Post by Thomin » Tue Oct 25, 2016 7:22 am

Sorry, TinCanTech. Usually I'm not as dense.

Still, I thought about posting extensive config files and logs, but I fail to see the purpose (opposed to the "How to request help"-thread). Am I wrong? Even more, as you write in your thread, that one shall not include public information about the server. But why is it then of importance to what server I'm connected - besides basic configurations as already posted above?

However, my "OpenVPN Connect" version (for Android) is 1.1.17 (build 76). Core 3.0.12 armv7a.

Does this suffice?

Thank you :)

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Cannot connect to local SMB Share - how to ignore local traffic?

Post by TinCanTech » Tue Oct 25, 2016 11:05 am

Add a route for your NAS drive, see if that works.

Post Reply