how can I get smb access to a VPN windows share via openvpn?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I use Ubuntu 18.10. I've got a openvpn config file from my host provider. It establishes the openvpn connection:



Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: timers and/or timeouts modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: --ifconfig/up options modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: route options modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: route-related options modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Fri Feb 22 13:06:55 2019 Outgoing Data Channel: Cipher 'AES-128-CBC' initialized with 128 bit key
Fri Feb 22 13:06:55 2019 Outgoing Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Feb 22 13:06:55 2019 Incoming Data Channel: Cipher 'AES-128-CBC' initialized with 128 bit key
Fri Feb 22 13:06:55 2019 Incoming Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Feb 22 13:06:55 2019 ROUTE_GATEWAY 192.168.199.199/255.255.255.0 IFACE=enp7s0 HWADDR=70:85:c2:55:27:4e
Fri Feb 22 13:06:55 2019 TUN/TAP device tun0 opened
Fri Feb 22 13:06:55 2019 TUN/TAP TX queue length set to 100
Fri Feb 22 13:06:55 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Fri Feb 22 13:06:55 2019 /sbin/ip link set dev tun0 up mtu 1500
Fri Feb 22 13:06:55 2019 /sbin/ip addr add dev tun0 172.31.254.2/24 broadcast 172.31.254.255
Fri Feb 22 13:06:59 2019 /sbin/ip route add 195.145.62.138/32 via 192.168.199.199
Fri Feb 22 13:06:59 2019 /sbin/ip route add 192.168.16.0/21 via 172.31.254.1
Fri Feb 22 13:06:59 2019 Initialization Sequence Completed<


And I got this info to access my files:



der Fileserver ist konfiguriert und stellt Ihnen 100GB Speicher zur Verfügung.

Melden Sie sich für den Datentransfer:
- zunächst über VPN an und
- verbinden sie sich dann per SMB auf das Netzlaufwerk \lanAshared_files .

Benutzername: local-netusername
Passwort: password
<


Wenn I try to get access with Nautilus to this share,




smb://username@195.145.62.138/lanA/shared_files <
I got the window prompting: >domaine and password< and I entered : >local-net and password<




I receive: >Access to this place denied; timeout.<



Waht was wrong?










share|improve this question

























  • First try smb://195.145.62.138

    – LeonidMew
    Feb 22 at 14:49











  • lanA looks like a computer name, first try ip address of it. VPN don't prevent using shares, just use correct ip

    – LeonidMew
    Feb 22 at 14:52




















0















I use Ubuntu 18.10. I've got a openvpn config file from my host provider. It establishes the openvpn connection:



Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: timers and/or timeouts modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: --ifconfig/up options modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: route options modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: route-related options modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Fri Feb 22 13:06:55 2019 Outgoing Data Channel: Cipher 'AES-128-CBC' initialized with 128 bit key
Fri Feb 22 13:06:55 2019 Outgoing Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Feb 22 13:06:55 2019 Incoming Data Channel: Cipher 'AES-128-CBC' initialized with 128 bit key
Fri Feb 22 13:06:55 2019 Incoming Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Feb 22 13:06:55 2019 ROUTE_GATEWAY 192.168.199.199/255.255.255.0 IFACE=enp7s0 HWADDR=70:85:c2:55:27:4e
Fri Feb 22 13:06:55 2019 TUN/TAP device tun0 opened
Fri Feb 22 13:06:55 2019 TUN/TAP TX queue length set to 100
Fri Feb 22 13:06:55 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Fri Feb 22 13:06:55 2019 /sbin/ip link set dev tun0 up mtu 1500
Fri Feb 22 13:06:55 2019 /sbin/ip addr add dev tun0 172.31.254.2/24 broadcast 172.31.254.255
Fri Feb 22 13:06:59 2019 /sbin/ip route add 195.145.62.138/32 via 192.168.199.199
Fri Feb 22 13:06:59 2019 /sbin/ip route add 192.168.16.0/21 via 172.31.254.1
Fri Feb 22 13:06:59 2019 Initialization Sequence Completed<


And I got this info to access my files:



der Fileserver ist konfiguriert und stellt Ihnen 100GB Speicher zur Verfügung.

Melden Sie sich für den Datentransfer:
- zunächst über VPN an und
- verbinden sie sich dann per SMB auf das Netzlaufwerk \lanAshared_files .

Benutzername: local-netusername
Passwort: password
<


Wenn I try to get access with Nautilus to this share,




smb://username@195.145.62.138/lanA/shared_files <
I got the window prompting: >domaine and password< and I entered : >local-net and password<




I receive: >Access to this place denied; timeout.<



Waht was wrong?










share|improve this question

























  • First try smb://195.145.62.138

    – LeonidMew
    Feb 22 at 14:49











  • lanA looks like a computer name, first try ip address of it. VPN don't prevent using shares, just use correct ip

    – LeonidMew
    Feb 22 at 14:52
















0












0








0








I use Ubuntu 18.10. I've got a openvpn config file from my host provider. It establishes the openvpn connection:



Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: timers and/or timeouts modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: --ifconfig/up options modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: route options modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: route-related options modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Fri Feb 22 13:06:55 2019 Outgoing Data Channel: Cipher 'AES-128-CBC' initialized with 128 bit key
Fri Feb 22 13:06:55 2019 Outgoing Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Feb 22 13:06:55 2019 Incoming Data Channel: Cipher 'AES-128-CBC' initialized with 128 bit key
Fri Feb 22 13:06:55 2019 Incoming Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Feb 22 13:06:55 2019 ROUTE_GATEWAY 192.168.199.199/255.255.255.0 IFACE=enp7s0 HWADDR=70:85:c2:55:27:4e
Fri Feb 22 13:06:55 2019 TUN/TAP device tun0 opened
Fri Feb 22 13:06:55 2019 TUN/TAP TX queue length set to 100
Fri Feb 22 13:06:55 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Fri Feb 22 13:06:55 2019 /sbin/ip link set dev tun0 up mtu 1500
Fri Feb 22 13:06:55 2019 /sbin/ip addr add dev tun0 172.31.254.2/24 broadcast 172.31.254.255
Fri Feb 22 13:06:59 2019 /sbin/ip route add 195.145.62.138/32 via 192.168.199.199
Fri Feb 22 13:06:59 2019 /sbin/ip route add 192.168.16.0/21 via 172.31.254.1
Fri Feb 22 13:06:59 2019 Initialization Sequence Completed<


And I got this info to access my files:



der Fileserver ist konfiguriert und stellt Ihnen 100GB Speicher zur Verfügung.

Melden Sie sich für den Datentransfer:
- zunächst über VPN an und
- verbinden sie sich dann per SMB auf das Netzlaufwerk \lanAshared_files .

Benutzername: local-netusername
Passwort: password
<


Wenn I try to get access with Nautilus to this share,




smb://username@195.145.62.138/lanA/shared_files <
I got the window prompting: >domaine and password< and I entered : >local-net and password<




I receive: >Access to this place denied; timeout.<



Waht was wrong?










share|improve this question
















I use Ubuntu 18.10. I've got a openvpn config file from my host provider. It establishes the openvpn connection:



Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: timers and/or timeouts modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: --ifconfig/up options modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: route options modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: route-related options modified
Fri Feb 22 13:06:55 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Fri Feb 22 13:06:55 2019 Outgoing Data Channel: Cipher 'AES-128-CBC' initialized with 128 bit key
Fri Feb 22 13:06:55 2019 Outgoing Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Feb 22 13:06:55 2019 Incoming Data Channel: Cipher 'AES-128-CBC' initialized with 128 bit key
Fri Feb 22 13:06:55 2019 Incoming Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Feb 22 13:06:55 2019 ROUTE_GATEWAY 192.168.199.199/255.255.255.0 IFACE=enp7s0 HWADDR=70:85:c2:55:27:4e
Fri Feb 22 13:06:55 2019 TUN/TAP device tun0 opened
Fri Feb 22 13:06:55 2019 TUN/TAP TX queue length set to 100
Fri Feb 22 13:06:55 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Fri Feb 22 13:06:55 2019 /sbin/ip link set dev tun0 up mtu 1500
Fri Feb 22 13:06:55 2019 /sbin/ip addr add dev tun0 172.31.254.2/24 broadcast 172.31.254.255
Fri Feb 22 13:06:59 2019 /sbin/ip route add 195.145.62.138/32 via 192.168.199.199
Fri Feb 22 13:06:59 2019 /sbin/ip route add 192.168.16.0/21 via 172.31.254.1
Fri Feb 22 13:06:59 2019 Initialization Sequence Completed<


And I got this info to access my files:



der Fileserver ist konfiguriert und stellt Ihnen 100GB Speicher zur Verfügung.

Melden Sie sich für den Datentransfer:
- zunächst über VPN an und
- verbinden sie sich dann per SMB auf das Netzlaufwerk \lanAshared_files .

Benutzername: local-netusername
Passwort: password
<


Wenn I try to get access with Nautilus to this share,




smb://username@195.145.62.138/lanA/shared_files <
I got the window prompting: >domaine and password< and I entered : >local-net and password<




I receive: >Access to this place denied; timeout.<



Waht was wrong?







openvpn smb






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 22 at 14:34









mikewhatever

24.4k77085




24.4k77085










asked Feb 22 at 12:31









user247433user247433

1




1













  • First try smb://195.145.62.138

    – LeonidMew
    Feb 22 at 14:49











  • lanA looks like a computer name, first try ip address of it. VPN don't prevent using shares, just use correct ip

    – LeonidMew
    Feb 22 at 14:52





















  • First try smb://195.145.62.138

    – LeonidMew
    Feb 22 at 14:49











  • lanA looks like a computer name, first try ip address of it. VPN don't prevent using shares, just use correct ip

    – LeonidMew
    Feb 22 at 14:52



















First try smb://195.145.62.138

– LeonidMew
Feb 22 at 14:49





First try smb://195.145.62.138

– LeonidMew
Feb 22 at 14:49













lanA looks like a computer name, first try ip address of it. VPN don't prevent using shares, just use correct ip

– LeonidMew
Feb 22 at 14:52







lanA looks like a computer name, first try ip address of it. VPN don't prevent using shares, just use correct ip

– LeonidMew
Feb 22 at 14:52












0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1120369%2fhow-can-i-get-smb-access-to-a-vpn-windows-share-via-openvpn%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1120369%2fhow-can-i-get-smb-access-to-a-vpn-windows-share-via-openvpn%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents