[FIXED] OpenVPN on Docker, problem to access shared folder over VPN

  • Hello everyone, I install and configure the OpenVPN-AS over Docker, configure my laptop e try to access the shared folder over VPN connection, but I could not found the folders one internet connection.
    What I need to do?
    How to fix it? and what information's you need to have to give me some help.


    Thanks

  • Goto Vpn Settings to
    Specify the private subnets to which all clients should be given access (one per line):
    Write your Ip Range like 192.168.0.0/24

    Thanks! this confirms an example that I see on other website.
    Thanks you so much, as soon As possible I will mark this as Closed/Resolved.

  • After some tries I Fix it, and there is the how to:

    • Go to (in User Management menu) user and select the options:
      • "Allow server-side private subnets
    • Go to VPN Settings (in Configuration)
      • configure the network address and netmask. (I use 192.168.10.0 / 24)
        • Yes, using NAT
      • In "Routing" (in the same page) , there is a configuration called "Specify the private subnets to which all clients should be given access (one per line), add: 192.168.0.0/24 (this is my internal network)


    After that you could use the SMB shared folders, I could not use the server name, but I use the IP and everthing is working now.

  • Hi, i'm newbie with network address, netmask and openvpn....

    I try to use your solution but i need more help.


    You say, you use 192.168.10.0/24, but how do you find this and wherre do you put this in VPN settings :


    --Dynamic IP Address Network

    or Static IP Address Network (Optional)

    or Group Default IP Address Network (Optional)


    when i do this command : ip addr, i have this :


    root@OMV5:~# ip addr

    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    inet 127.0.0.1/8 scope host lo

    valid_lft forever preferred_lft forever

    inet6 ::1/128 scope host

    valid_lft forever preferred_lft forever

    2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000

    link/ether xxxxxxxxxx brd ff:ff:ff:ff:ff:ff

    inet 192.168.0.30/24 brd 192.168.0.255 scope global enp0s3

    valid_lft forever preferred_lft forever

    3: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default

    link/ether xxxxxxxxxx brd ff:ff:ff:ff:ff:ff

    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0

    valid_lft forever preferred_lft forever

    inet6 fe80::42:e1ff:feba:5178/64 scope link

    valid_lft forever preferred_lft forever

    5: veth7cba650@if4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default

    link/ether f2:b0:87:25:f0:39 brd ff:ff:ff:ff:ff:ff link-netnsid 0

    inet6 fe80::f0b0:87ff:fe25:f039/64 scope link

    valid_lft forever preferred_lft forever

    7: veth83ab0b5@if6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default

    link/ether 5e:db:98:29:d9:3a brd ff:ff:ff:ff:ff:ff link-netnsid 1

    inet6 fe80::5cdb:98ff:fe29:d93a/64 scope link

    valid_lft forever preferred_lft forever

    how finding my network address and netmask ?


    second question : in "routing" you ad "192.168.0.0/24 (this is my internal network)". Where do you find this number?

    My network is 192.168.0.30 when i want to connect web gui openvpn.


    I need help please and i'm very sorry for my english. I had to use a translator because i'm french man

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!