VPN Internet Access

  • Hello guys,


    i am using OpenVPN on my omv server.
    I can connect from internet to omv with my android without problems.
    I can reach then omv gui too in vpn connection.
    But its not possible to surf in internet via vpn.
    When i am in vpn connection with my android device, it only knows the ip adresses of omv and docker container, nothing els. Not even the router ip ...


    I think my omv server creates a subnet which let me reach omv and docker container but not my "real" home network.
    I need this function for permanent vpn connection via android e.g. when i take a picture, this one will get uploaded to nextcloud instant.


    Do you understand? :D


    My omv gives me an ip adress like 10.8.0.2 ... with 255.255.255.0 subnet.
    This is the default setting of openVPN plugin.


    I know that the two devices in vpn connection needs different subnets.
    But how can i fix my problem?
    Does i need a second gateway interface for connection from omv to router?


    I hope someone can help me.
    Thank you!

  • Post your VPN config, blur out the internet IP or DNS.


    I have no issue with the following config:


    SETTINGS:
    General settings:
    - Configure the plugin:
    - enable: true
    - port: 1194
    - use compression: true
    - PAM: true



    VPN network:
    - Address: 10.8.0.0
    - MASK: 255.255.255.0
    - Gateway interface: your internet interface (mine is ens5, but the interface is in the dropdown list just select the one connected to the internet)
    - Default gateway: true



    DHCP options
    everything is empty



    Public:
    - Public address: your IP or if NO-IP use your domain.ddns.net

  • Hey,


    thanks for help.


    It works now with the following Settings:


    Default Gateway = false


    I tryed it before but with another option. That was the reason why i thought it wont help me.
    But today i tryed again with setting it to false and now all works !! :)


    Thanks and this can be closed :thumbsup:

  • Hi all,


    Faced a similar problem.


    Connection is established successfully, but I don't see home network.


    Default gateway tried setting on and off - no difference.


    Tell me what to do.


    Thanks.



    Maybe I did not quite understand the essence of my problem...


    I need to connect from the outside to the home network and see the samba shares.


    For this, I installed openvpn plugin in omv.
    On the router did port forwarding.
    The connection itself is established without problems.
    But I do not see the local network.

  • Wow, man. That's incredible. Frankly speaking, I have tried a lot of VPNs, but I haven't even found the best one, which will be suited for me. Long story short, I need VPN on my phone, the main problem, that I have found the topic "Which Smart Phones Are the Best for Browsing on the Go?" after the buying the phone. I so fucked up, I can't even explain. Hope your VPN isn't demanding, so I'll be able to use it. If you are interested in this topic, you can read it on https://usave.co.uk/. Have a nice day. Wait your answer.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!